This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository clang-tools-extra.
from bd616de [clang-tidy] Remove local hasInClassInitializer matcher. NFC new 7c5e7c8 [clang-tidy] Add enum misuse check.
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: clang-tidy/misc/CMakeLists.txt | 1 + clang-tidy/misc/MiscTidyModule.cpp | 3 + clang-tidy/misc/SuspiciousEnumUsageCheck.cpp | 216 +++++++++++++++++++++ ...ngCompareCheck.h => SuspiciousEnumUsageCheck.h} | 25 ++- docs/clang-tidy/checks/list.rst | 1 + .../checks/misc-suspicious-enum-usage.rst | 78 ++++++++ .../misc-suspicious-enum-usage-strict.cpp | 98 ++++++++++ test/clang-tidy/misc-suspicious-enum-usage.cpp | 90 +++++++++ 8 files changed, 499 insertions(+), 13 deletions(-) create mode 100644 clang-tidy/misc/SuspiciousEnumUsageCheck.cpp copy clang-tidy/misc/{SuspiciousStringCompareCheck.h => SuspiciousEnumUsageCheck.h} (53%) create mode 100644 docs/clang-tidy/checks/misc-suspicious-enum-usage.rst create mode 100644 test/clang-tidy/misc-suspicious-enum-usage-strict.cpp create mode 100644 test/clang-tidy/misc-suspicious-enum-usage.cpp