[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:46:36 PDT 2025


================
@@ -225,6 +226,89 @@ void integer_complex_suffix() {
   static_assert(v28 == 1J, "");
 }
 
+// This is a C++23 feature, but Clang supports it in earlier language modes
+// as an extension, so we test it unconditionally.
----------------
carlosgalvezp wrote:

I agree!

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


More information about the cfe-commits mailing list