[clang-tools-extra] [clang-tidy] Add portability-avoid-platform-specific-fundamental-types (PR #146970)
JJ Marr via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 6 11:58:31 PDT 2025
================
@@ -0,0 +1,63 @@
+// RUN: %check_clang_tidy %s portability-avoid-platform-specific-fundamental-types %t -- -config="{CheckOptions: [{key: portability-avoid-platform-specific-fundamental-types.WarnOnChars, value: true}]}" -header-filter=.* -- -std=c++11
----------------
jj-marr wrote:
should also ensure that ints aren't linted when WarnOnChars on its own is enabled and the other two are disabled
https://github.com/llvm/llvm-project/pull/146970
More information about the cfe-commits
mailing list