diff options
Diffstat (limited to 'compilerplugins/clang/plugin.cxx')
-rw-r--r-- | compilerplugins/clang/plugin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx index 22bac0cdfe8c..348386f7aae3 100644 --- a/compilerplugins/clang/plugin.cxx +++ b/compilerplugins/clang/plugin.cxx @@ -22,6 +22,7 @@ #include "bodynotinblock.hxx" #include "lclstaticfix.hxx" #include "postfixincrementfix.hxx" +#include "removeforwardstringdecl.hxx" #include "sallogareas.hxx" #include "unusedvariablecheck.hxx" @@ -192,6 +193,7 @@ class PluginHandler , bodyNotInBlock( context ) , lclStaticFix( context, rewriter ) , postfixIncrementFix( context, rewriter ) + , removeForwardStringDecl( context, rewriter ) , salLogAreas( context ) , unusedVariableCheck( context ) { @@ -204,6 +206,8 @@ class PluginHandler lclStaticFix.run(); else if( isArg( "postfixincrementfix" )) postfixIncrementFix.run(); + else if( isArg( "removeforwardstringdecl" )) + removeForwardStringDecl.run(); else if( args.empty()) { bodyNotInBlock.run(); @@ -292,6 +296,7 @@ class PluginHandler BodyNotInBlock bodyNotInBlock; LclStaticFix lclStaticFix; PostfixIncrementFix postfixIncrementFix; + RemoveForwardStringDecl removeForwardStringDecl; SalLogAreas salLogAreas; UnusedVariableCheck unusedVariableCheck; }; |