[PATCH] D129570: [clang-tidy] Add new clang-tidy check to find implicit conversions from enum to integer.
Paul Fultz II via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 11 17:42:44 PST 2023
pfultz2 updated this revision to Diff 488440.
pfultz2 added a comment.
Improve null checking, use the correct type in the fixit, and updated the tests.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129570/new/
https://reviews.llvm.org/D129570
Files:
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
clang-tools-extra/clang-tidy/bugprone/EnumToIntCheck.cpp
clang-tools-extra/clang-tidy/bugprone/EnumToIntCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/enum-to-int.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone/enum-to-int.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129570.488440.patch
Type: text/x-patch
Size: 10477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230112/31c6703b/attachment-0001.bin>
More information about the cfe-commits
mailing list