Kaydet (Commit) 15e0b08a authored tarafından Alexander Wilms's avatar Alexander Wilms Kaydeden (comit) Stephan Bergmann

Remove visual noise from compilerplugins

Change-Id: Ibfed0b64bd60804fa377b5e25e5f197a7772d605
Signed-off-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 98b82956
......@@ -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 )
......
......@@ -164,8 +164,6 @@ class RegistrationCreate
template< typename T, bool > static T* create( const Plugin::InstantiationData& data );
};
/////
inline
Plugin::~Plugin()
{
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment