[PATCH] D114105: [clang-tidy] Ignore narrowing conversions in case of bitfields

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 18 09:30:20 PST 2021


steakhal updated this revision to Diff 388240.
steakhal marked 2 inline comments as done.
steakhal edited the summary of this revision.
steakhal added a comment.

- added more tests
- add a detailed comment about the situation we suppress
- see through parenExprs


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

https://reviews.llvm.org/D114105

Files:
  clang-tools-extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-bitfields.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114105.388240.patch
Type: text/x-patch
Size: 9157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211118/864bdb89/attachment.bin>


More information about the cfe-commits mailing list