summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/postfixincrementfix.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-02-02 18:34:12 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-02-02 22:59:44 +0100
commita1c61eb11298d5ed565c06e4b925d51d855fd8ff (patch)
tree1b2c4273cbecbbab41823c45ce36b1d35666215a /compilerplugins/clang/postfixincrementfix.cxx
parentc6ffe17631cccf11fbe00479d2169116d494a7da (diff)
move documentation of plugins to the .cxx files
It's mostly there already anyway, no need to duplicate it. Change-Id: I5b066f90725a064fb0746e1411900e835e3f66c3
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
{