summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 17:55:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-27 11:10:28 +0100
commit15e0b08ab524e6132ef2792db91a2ae5671d9539 (patch)
tree7382231419b12cf35c541c9a0d575fe538c23dd1 /compilerplugins
parent98b829562d37f156fefd23e5756044fc582829ce (diff)
Remove visual noise from compilerplugins
Change-Id: Ibfed0b64bd60804fa377b5e25e5f197a7772d605 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/plugin.cxx2
-rw-r--r--compilerplugins/clang/plugin.hxx2
-rw-r--r--compilerplugins/clang/pluginhandler.cxx1
-rw-r--r--compilerplugins/clang/store/referencecasting.cxx2
-rw-r--r--compilerplugins/clang/store/rtlconstasciimacro.cxx1
-rw-r--r--compilerplugins/clang/store/svstreamoutputoperators.cxx1
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