[PATCH] D13640: [clang-tidy] Add new check cppcoreguidelines-pro-bounds-array-to-pointer-decay

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 00:44:24 PDT 2015


klimek added a subscriber: klimek.

================
Comment at: clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:40
@@ +39,3 @@
+
+  diag(MatchedCast->getExprLoc(), "do not (implicitly) convert an array to a pointer");
+}
----------------
Can't we provide a fixit?


http://reviews.llvm.org/D13640





More information about the cfe-commits mailing list