[PATCH] D21134: clang-tidy: new check readability-misplaced-array-index

Daniel Marjamäki via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 8 04:47:24 PDT 2016


danielmarjamaki added inline comments.

================
Comment at: clang-tidy/readability/MisplacedArrayIndexCheck.cpp:43
@@ +42,3 @@
+
+static StringRef getAsString(const MatchFinder::MatchResult &Result,
+                             const Expr *E) {
----------------
alexfh wrote:
> Looks like this repeats getText from clang/Tooling/FixIt.h.
Yes indeed..


https://reviews.llvm.org/D21134





More information about the cfe-commits mailing list