[PATCH] D30896: [CLANG-TIDY] add check misc-prefer-switch-for-enums

Jonathan B Coe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 10:50:05 PDT 2017


jbcoe updated this revision to Diff 91588.
jbcoe added a comment.

Minor edits in response to review comments. A few questions outstanding.


https://reviews.llvm.org/D30896

Files:
  clang-tools-extra/clang-tidy/misc/CMakeLists.txt
  clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
  clang-tools-extra/clang-tidy/misc/PreferSwitchForEnumsCheck.cpp
  clang-tools-extra/clang-tidy/misc/PreferSwitchForEnumsCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/docs/clang-tidy/checks/misc-prefer-switch-for-enums.rst
  clang-tools-extra/test/clang-tidy/misc-prefer-switch-for-enums.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30896.91588.patch
Type: text/x-patch
Size: 7847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170313/7fcf99aa/attachment.bin>


More information about the cfe-commits mailing list