compilerplugins/clang/plugin.cxx | 2 -- compilerplugins/clang/plugin.hxx | 2 -- compilerplugins/clang/pluginhandler.cxx | 1 - compilerplugins/clang/store/referencecasting.cxx | 2 -- compilerplugins/clang/store/rtlconstasciimacro.cxx | 1 - compilerplugins/clang/store/svstreamoutputoperators.cxx | 1 - 6 files changed, 9 deletions(-)
New commits: commit 15e0b08ab524e6132ef2792db91a2ae5671d9539 Author: Alexander Wilms <f.alexander.wi...@gmail.com> Date: Tue Feb 25 17:55:35 2014 +0100 Remove visual noise from compilerplugins Change-Id: Ibfed0b64bd60804fa377b5e25e5f197a7772d605 Signed-off-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx index 48c9843..f319e60 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 b70fd78..afdecdd 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 361f12c..065bd1a 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 c957367..113002c 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 be627f9..482c9ad 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 9cdc4b2..dcabbf5 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits