[PATCH] D45444: [clang-tidy] WIP: implement new check for const-correctness

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 15 02:53:42 PDT 2018


JonasToth updated this revision to Diff 142544.
JonasToth added a comment.

- [Misc] unify handle and value modification detection
- [Misc] found new caveats, maybe take a look at refactoring first an require this check to produce clean compiles on llvm


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45444

Files:
  clang-tidy/cppcoreguidelines/CMakeLists.txt
  clang-tidy/cppcoreguidelines/ConstCheck.cpp
  clang-tidy/cppcoreguidelines/ConstCheck.h
  clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/cppcoreguidelines-const.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/cppcoreguidelines-const-handles.cpp
  test/clang-tidy/cppcoreguidelines-const-values.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45444.142544.patch
Type: text/x-patch
Size: 51460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180415/c7849809/attachment-0001.bin>


More information about the cfe-commits mailing list