[PATCH] D13311: [clang-tidy] Add check misc-pointer-arithmetic

Matthias Gehre via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 1 14:40:51 PDT 2015


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

Port to cppcoreguidelines module.
Add checks for post/pre increment/decrement and array access.


http://reviews.llvm.org/D13311

Files:
  clang-tidy/CMakeLists.txt
  clang-tidy/Makefile
  clang-tidy/add_new_check.py
  clang-tidy/cppcoreguidelines/CMakeLists.txt
  clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
  clang-tidy/cppcoreguidelines/Makefile
  clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp
  clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h
  clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp
  clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h
  clang-tidy/tool/CMakeLists.txt
  clang-tidy/tool/ClangTidyMain.cpp
  clang-tidy/tool/Makefile
  docs/clang-tidy/checks/cppcoreguidelines-pro-bounds-pointer-arithmetic.rst
  docs/clang-tidy/checks/cppcoreguidelines-pro-type-reinterpret-cast.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp
  test/clang-tidy/cppcoreguidelines-pro-type-reinterpret-cast.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13311.36300.patch
Type: text/x-patch
Size: 18000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151001/456bef37/attachment-0001.bin>


More information about the cfe-commits mailing list