From a7c3adb773e5b69601716bda181cc481090a4d59 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sat, 2 Feb 2013 17:45:18 +0100 Subject: avoid having to manuall modify sources when adding a new clang plugin Now each one registers in its .cxx file. Change-Id: I811c0d4400c2bdccc1c287269378d7e8ad8743ce --- compilerplugins/clang/bodynotinblock.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compilerplugins/clang/bodynotinblock.hxx') diff --git a/compilerplugins/clang/bodynotinblock.hxx b/compilerplugins/clang/bodynotinblock.hxx index 3cfc9bafc8d5..e8d35dd58480 100644 --- a/compilerplugins/clang/bodynotinblock.hxx +++ b/compilerplugins/clang/bodynotinblock.hxx @@ -22,7 +22,7 @@ class BodyNotInBlock { public: explicit BodyNotInBlock( ASTContext& context ); - void run(); + virtual void run(); bool VisitFunctionDecl( FunctionDecl* declaration ); private: typedef vector< const Stmt* > StmtParents; -- cgit