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

Matthias Gehre via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 11:42:24 PST 2015


mgehre updated this revision to Diff 39952.
mgehre added a comment.

update for review comments; removed bounds check on static arrays in favor of clang-diagnostic-array-bounds


http://reviews.llvm.org/D13746

Files:
  clang-tidy/cppcoreguidelines/CMakeLists.txt
  clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
  clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp
  clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h
  docs/clang-tidy/checks/cppcoreguidelines-pro-bounds-constant-array-index.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13746.39952.patch
Type: text/x-patch
Size: 13807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151111/fc7e7f8b/attachment.bin>


More information about the cfe-commits mailing list