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

@@ -22,7 +22,7 @@ class PostfixIncrementFix
{
public:
explicit PostfixIncrementFix( ASTContext& context, Rewriter& rewriter );
void run();
virtual void run();
bool VisitFunctionDecl( FunctionDecl* declaration );
private:
typedef std::vector< const Stmt* > StmtParents;