[clang-tools-extra] [clang-tidy] Teach `readability-uppercase-literal-suffix` about C++23 and C23 suffixes (PR #148275)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 20 00:47:09 PDT 2025


================
@@ -0,0 +1,248 @@
+// TODO: When Clang adds support for C++23 floating-point types, enable these tests by:
+//    1. Removing all the #if 0 + #endif guards.
+//    2. Removing all occurrences of the string "DISABLED-" in this file.
+//    3. Deleting this message.
+// These suffixes may be relevant to C too: https://github.com/llvm/llvm-project/issues/97335
+
+// RUN: %check_clang_tidy -std=c++23 %s readability-uppercase-literal-suffix %t -- -- -target aarch64-linux-gnu -I %clang_tidy_headers
----------------
carlosgalvezp wrote:

+1, we use the default target (x86_64) in tests

https://github.com/llvm/llvm-project/pull/148275


More information about the cfe-commits mailing list