[PATCH] D144036: [clang-tidy] Add bugprone-non-zero-enum-to-bool-conversion check
Piotr Zegar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 8 10:15:28 PDT 2023
PiotrZSL updated this revision to Diff 511904.
PiotrZSL marked an inline comment as done.
PiotrZSL retitled this revision from "[clang-tidy] Add bugprone-enum-to-bool-conversion check" to "[clang-tidy] Add bugprone-non-zero-enum-to-bool-conversion check".
PiotrZSL added a comment.
Review fixes + check rename
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144036/new/
https://reviews.llvm.org/D144036
Files:
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
clang-tools-extra/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.cpp
clang-tools-extra/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/non-zero-enum-to-bool-conversion.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone/non-zero-enum-to-bool-conversion-cpp11.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone/non-zero-enum-to-bool-conversion.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144036.511904.patch
Type: text/x-patch
Size: 17385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230408/cb10f1ae/attachment-0001.bin>
More information about the cfe-commits
mailing list