diff options
Diffstat (limited to 'compilerplugins/clang/staticaccess.cxx')
-rw-r--r-- | compilerplugins/clang/staticaccess.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/compilerplugins/clang/staticaccess.cxx b/compilerplugins/clang/staticaccess.cxx index 6b15bfb15349..9c1abbc5cba4 100644 --- a/compilerplugins/clang/staticaccess.cxx +++ b/compilerplugins/clang/staticaccess.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 "plugin.hxx" @@ -89,8 +91,10 @@ bool StaticAccess::VisitMemberExpr(MemberExpr const * expr) { return true; } -loplugin::Plugin::Registration<StaticAccess> X("staticaccess"); +loplugin::Plugin::Registration<StaticAccess> staticaccess("staticaccess"); -} +} // namespace + +#endif // LO_CLANG_SHARED_PLUGINS /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |