[clang] Disable -fdollars-in-identifiers by default (PR #135407)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 13:46:16 PDT 2025


================
@@ -7,7 +7,7 @@
 #define foo`bar   /* expected-error {{whitespace required after macro name}} */
 #define foo2!bar  /* expected-warning {{whitespace recommended after macro name}} */
 
-#define foo3$bar  /* expected-error {{'$' in identifier}} */
+#define foo3$bar  /* expected-error {{whitespace required after macro name}} */
----------------
shafik wrote:

Why does this diagnostic change?

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


More information about the cfe-commits mailing list