[PATCH] D34329: [clang-diff] Initial implementation.

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 4 03:30:02 PDT 2017


arphaman added inline comments.


================
Comment at: include/clang/Tooling/ASTDiff/ASTDiffInternal.h:38
+  operator int() const { return Id; }
+  NodeId &operator++() { return ++this->Id, *this; }
+  NodeId &operator--() { return --this->Id, *this; }
----------------
NIT: You don't need `this` here or in `--` as well.


https://reviews.llvm.org/D34329





More information about the cfe-commits mailing list