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

Clement Courbet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 25 04:47:06 PST 2021


courbet accepted this revision.
courbet added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-bitfields.cpp:62
+void take(T);
+void test_parameter_passing(NoBitfield x) {
+  take<char>(x.id);
----------------
[nit] newline after take


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

https://reviews.llvm.org/D114105



More information about the cfe-commits mailing list