diff options
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/plugin.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/plugin.hxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/pluginhandler.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/store/referencecasting.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/store/rtlconstasciimacro.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/store/svstreamoutputoperators.cxx | 1 |
6 files changed, 0 insertions, 9 deletions
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx index 48c98430d082..f319e6038d32 100644 --- a/compilerplugins/clang/plugin.cxx +++ b/compilerplugins/clang/plugin.cxx @@ -151,8 +151,6 @@ SourceLocation Plugin::locationAfterToken( SourceLocation location ) return Lexer::getLocForEndOfToken( location, 0, compiler.getSourceManager(), compiler.getLangOpts()); } -///// - RewritePlugin::RewritePlugin( const InstantiationData& data ) : Plugin( data ) , rewriter( data.rewriter ) diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx index b70fd7831db7..afdecdde5da6 100644 --- a/compilerplugins/clang/plugin.hxx +++ b/compilerplugins/clang/plugin.hxx @@ -164,8 +164,6 @@ class RegistrationCreate template< typename T, bool > static T* create( const Plugin::InstantiationData& data ); }; -///// - inline Plugin::~Plugin() { diff --git a/compilerplugins/clang/pluginhandler.cxx b/compilerplugins/clang/pluginhandler.cxx index 361f12c7fabe..065bd1a5d2e4 100644 --- a/compilerplugins/clang/pluginhandler.cxx +++ b/compilerplugins/clang/pluginhandler.cxx @@ -252,7 +252,6 @@ bool LibreOfficeAction::ParseArgs( const CompilerInstance&, const vector< string return true; } - static FrontendPluginRegistry::Add< loplugin::LibreOfficeAction > X( "loplugin", "LibreOffice compile check plugin" ); } // namespace diff --git a/compilerplugins/clang/store/referencecasting.cxx b/compilerplugins/clang/store/referencecasting.cxx index c957367dc562..113002cf22eb 100644 --- a/compilerplugins/clang/store/referencecasting.cxx +++ b/compilerplugins/clang/store/referencecasting.cxx @@ -32,7 +32,6 @@ I have logged a bug here: http://llvm.org/bugs/show_bug.cgi?id=15902 */ - ReferenceCasting::ReferenceCasting( CompilerInstance& compiler ) : Plugin( compiler ) { @@ -189,7 +188,6 @@ static const Type* extractTemplateType(Expr* cce) return templateParamQT.getTypePtr(); } - static Plugin::Registration< ReferenceCasting > X( "referencecasting" ); } // namespace diff --git a/compilerplugins/clang/store/rtlconstasciimacro.cxx b/compilerplugins/clang/store/rtlconstasciimacro.cxx index be627f938e01..482c9ade4201 100644 --- a/compilerplugins/clang/store/rtlconstasciimacro.cxx +++ b/compilerplugins/clang/store/rtlconstasciimacro.cxx @@ -59,7 +59,6 @@ void RtlConstAsciiMacro::run() TraverseDecl( compiler.getASTContext().getTranslationUnitDecl()); } - #if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 3 void RtlConstAsciiMacro::MacroExpands( const Token& macro, const MacroInfo*, SourceRange range ) #else diff --git a/compilerplugins/clang/store/svstreamoutputoperators.cxx b/compilerplugins/clang/store/svstreamoutputoperators.cxx index 9cdc4b278c30..dcabbf5df3bb 100644 --- a/compilerplugins/clang/store/svstreamoutputoperators.cxx +++ b/compilerplugins/clang/store/svstreamoutputoperators.cxx @@ -217,7 +217,6 @@ SourceLocation SvStreamOutputOperators::after( const SourceLocation& loc ) return Lexer::getLocForEndOfToken( loc, 0, compiler.getASTContext().getSourceManager(), compiler.getASTContext().getLangOpts() ); } - static Plugin::Registration< SvStreamOutputOperators > X( "svstreamoutputoperators" ); } // namespace |