summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/plugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/plugin.cxx')
-rw-r--r--compilerplugins/clang/plugin.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx
index 853cf74a8526..7ecf5991491f 100644
--- a/compilerplugins/clang/plugin.cxx
+++ b/compilerplugins/clang/plugin.cxx
@@ -20,6 +20,7 @@
#include "bodynotinblock.hxx"
#include "lclstaticfix.hxx"
+#include "postfixincrementfix.hxx"
#include "sallogareas.hxx"
#include "unusedvariablecheck.hxx"
@@ -150,6 +151,7 @@ class PluginHandler
, args( args )
, bodyNotInBlock( context )
, lclStaticFix( context, rewriter )
+ , postfixIncrementFix( context, rewriter )
, salLogAreas( context )
, unusedVariableCheck( context )
{
@@ -160,6 +162,8 @@ class PluginHandler
return;
if( isArg( "lclstaticfix" ))
lclStaticFix.run();
+ else if( isArg( "postfixincrementfix" ))
+ postfixIncrementFix.run();
else if( args.empty())
{
bodyNotInBlock.run();
@@ -201,6 +205,7 @@ class PluginHandler
vector< string > args;
BodyNotInBlock bodyNotInBlock;
LclStaticFix lclStaticFix;
+ PostfixIncrementFix postfixIncrementFix;
SalLogAreas salLogAreas;
UnusedVariableCheck unusedVariableCheck;
};