[PATCH] D72373: [clang-tidy] extend misc-misplaced-const to detect using besides typedef

Alexander Lanin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 22 12:05:39 PST 2020


AlexanderLanin updated this revision to Diff 239665.
AlexanderLanin added a comment.

Updated misc-misplaced-const.c to reflect new output and fixed one wrong col in misc-misplaced-const.cpp - I really do not understand how that happened.
Rebased and verified with check-clang-tools.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72373/new/

https://reviews.llvm.org/D72373

Files:
  clang-tools-extra/clang-tidy/misc/MisplacedConstCheck.cpp
  clang-tools-extra/docs/clang-tidy/checks/misc-misplaced-const.rst
  clang-tools-extra/test/clang-tidy/checkers/misc-misplaced-const.c
  clang-tools-extra/test/clang-tidy/checkers/misc-misplaced-const.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72373.239665.patch
Type: text/x-patch
Size: 7798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200122/f386a19b/attachment.bin>


More information about the cfe-commits mailing list