avoid having to manuall modify sources when adding a new clang plugin

Now each one registers in its .cxx file.

Change-Id: I811c0d4400c2bdccc1c287269378d7e8ad8743ce
This commit is contained in:
Luboš Luňák
2013-02-02 17:45:18 +01:00
parent b8f932b6a5
commit a7c3adb773
16 changed files with 161 additions and 52 deletions

View File

@@ -73,4 +73,6 @@ bool RemoveForwardStringDecl::tryRemoveStringForwardDecl( const Decl* decl )
return false;
}
static Plugin::Registration< RemoveForwardStringDecl > X( "removeforwardstringdecl" );
} // namespace