[PATCH] D15030: [clang-tidy] add check cppcoreguidelines-pro-bounds-constant-array-index

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 05:51:26 PST 2015


alexfh added a comment.

One more nit. Leaving the rest to Aaron, since most of the comments were his.


================
Comment at: clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h:25
@@ +24,3 @@
+class ProBoundsConstantArrayIndexCheck : public ClangTidyCheck {
+  std::string GslHeader;
+  const IncludeSorter::IncludeStyle IncludeStyle;
----------------
GslHeader can be const as well.


http://reviews.llvm.org/D15030





More information about the cfe-commits mailing list