[PATCH] D14517: Fix bug 25362 "cppcoreguidelines-pro-bounds-array-to-pointer-decay does not consider const"

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 10 05:29:40 PST 2015


aaron.ballman added a comment.

I generally think this LGTM, but I would wait for a second confirmation before committing.


================
Comment at: clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:33
@@ +32,3 @@
+              ast_matchers::internal::Matcher<Expr>, InnerMatcher) {
+  auto E = &Node;
+  do {
----------------
const auto *E, please.


http://reviews.llvm.org/D14517





More information about the cfe-commits mailing list