[PATCH] D21036: Misplaced const-qualification with typedef types

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 05:09:54 PDT 2016


aaron.ballman updated this revision to Diff 59868.
aaron.ballman marked an inline comment as done.
aaron.ballman added a comment.

Updated based on review feedback:

- Added another two test cases (one for templates and one for const binding to the right of the typedef type).
- Updated test cases to be less verbose in message checking
- Corrected case for a static function


http://reviews.llvm.org/D21036

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/MisplacedConstCheck.cpp
  clang-tidy/misc/MisplacedConstCheck.h
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-misplaced-const.rst
  test/clang-tidy/misc-misplaced-const.c
  test/clang-tidy/misc-misplaced-const.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21036.59868.patch
Type: text/x-patch
Size: 9588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160607/cbff4edc/attachment-0001.bin>


More information about the cfe-commits mailing list