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

Samuel Benzaquen via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 11:08:23 PDT 2015

sbenza accepted this revision.
sbenza added a comment.
This revision is now accepted and ready to land.

Just one formatting comment.

Comment at: clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:52
@@ +51,3 @@
+  diag(MatchedCast->getExprLoc(), "do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead");
reflow to 80 cols


More information about the cfe-commits mailing list