[PATCH] D20053: [clang-tidy] Add misc-unnecessary-mutable check.

Marek SokoĊ‚owski via cfe-commits cfe-commits at lists.llvm.org
Sun May 8 00:38:00 PDT 2016


mnbvmar created this revision.
mnbvmar added a reviewer: alexfh.
mnbvmar added subscribers: krystyna, sbarzowski, Prazek, staronj, cfe-commits.

This implements unnecessary-mutable check. It's still bug-prone and might produce false positives, so all suggestions are welcome.

http://reviews.llvm.org/D20053

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/UnnecessaryMutableCheck.cpp
  clang-tidy/misc/UnnecessaryMutableCheck.h
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-unnecessary-mutable.rst
  test/clang-tidy/misc-unnecessary-mutable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20053.56513.patch
Type: text/x-patch
Size: 20776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160508/41dcde32/attachment-0001.bin>


More information about the cfe-commits mailing list