[clang-tools-extra] [clang-tidy] Add portability-avoid-platform-specific-fundamental-types (PR #146970)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 9 20:28:13 PDT 2025
================
@@ -148,6 +148,13 @@ New checks
Finds uses of ``std::lock_guard`` and suggests replacing them with C++17's
alternative ``std::scoped_lock``.
+- New :doc:`portability-avoid-platform-specific-fundamental-types
+ <clang-tidy/checks/portability/avoid-platform-specific-fundamental-types>`
+ check.
+
+ Detects fundamental types (int, short, long, long long, char, float, etc)
----------------
EugeneZelenko wrote:
Please highlight types with double back-ticks.
https://github.com/llvm/llvm-project/pull/146970
More information about the cfe-commits
mailing list