diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-26 11:19:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-26 13:48:13 +0200 |
commit | e87761688dd831ff3d8ba1a2a38220053f900f62 (patch) | |
tree | e9cc9eed1c684188043c3c45f5671874e896fae2 /compilerplugins/clang/mapindex.cxx | |
parent | 761e6dd25782420bf06e4a2ff3205a79b6cbb136 (diff) |
use shared-plugin infra for some recent plugins
Change-Id: Ia9cba59718de91fed2045ffd7e0ec06d28bf37dc
Reviewed-on: https://gerrit.libreoffice.org/78118
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/mapindex.cxx')
-rw-r--r-- | compilerplugins/clang/mapindex.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compilerplugins/clang/mapindex.cxx b/compilerplugins/clang/mapindex.cxx index bf8e38919552..50b1c65921f1 100644 --- a/compilerplugins/clang/mapindex.cxx +++ b/compilerplugins/clang/mapindex.cxx @@ -6,6 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef LO_CLANG_SHARED_PLUGINS #include <memory> #include <cassert> @@ -98,8 +99,10 @@ bool MapIndex::VisitImplicitCastExpr(const ImplicitCastExpr* implicitCastExpr) return true; } -loplugin::Plugin::Registration<MapIndex> X("mapindex"); +loplugin::Plugin::Registration<MapIndex> mapindex("mapindex"); } // namespace +#endif // LO_CLANG_SHARED_PLUGINS + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |