summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/postfixincrementfix.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/postfixincrementfix.cxx')
-rw-r--r--compilerplugins/clang/postfixincrementfix.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/postfixincrementfix.cxx b/compilerplugins/clang/postfixincrementfix.cxx
index 2f474761830f..3f4688ec8bfb 100644
--- a/compilerplugins/clang/postfixincrementfix.cxx
+++ b/compilerplugins/clang/postfixincrementfix.cxx
@@ -13,6 +13,12 @@
#include <clang/AST/ASTContext.h>
#include <clang/Basic/SourceManager.h>
+/*
+This is a rewriter.
+
+Change all postfix ++ operators of non-trivial types to prefix if possible.
+*/
+
namespace loplugin
{