summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/empty.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/empty.cxx')
-rw-r--r--compilerplugins/clang/empty.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/empty.cxx b/compilerplugins/clang/empty.cxx
index 74cc7b06e176..4d48ca620087 100644
--- a/compilerplugins/clang/empty.cxx
+++ b/compilerplugins/clang/empty.cxx
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#ifndef LO_CLANG_SHARED_PLUGINS
+
#include <cassert>
#include "check.hxx"
@@ -180,7 +182,9 @@ private:
}
};
-loplugin::Plugin::Registration<Empty> X("empty");
+loplugin::Plugin::Registration<Empty> emptyRegistration("empty");
}
+#endif // LO_CLANG_SHARED_PLUGINS
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */