From e87761688dd831ff3d8ba1a2a38220053f900f62 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Aug 2019 11:19:56 +0200 Subject: 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 --- compilerplugins/clang/mapindex.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compilerplugins/clang/mapindex.cxx') 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 #include @@ -98,8 +99,10 @@ bool MapIndex::VisitImplicitCastExpr(const ImplicitCastExpr* implicitCastExpr) return true; } -loplugin::Plugin::Registration X("mapindex"); +loplugin::Plugin::Registration mapindex("mapindex"); } // namespace +#endif // LO_CLANG_SHARED_PLUGINS + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit