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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 04:29:54 PDT 2025


================
@@ -4036,6 +4036,7 @@ LangOptions getFormattingLangOpts(const FormatStyle &Style) {
   LangOpts.MicrosoftExt = 1;    // To get kw___try, kw___finally.
   LangOpts.DeclSpecKeyword = 1; // To get __declspec.
   LangOpts.C99 = 1; // To get kw_restrict for non-underscore-prefixed restrict.
+  LangOpts.DollarIdents = 1; // For $identifier$ testing.
----------------
AaronBallman wrote:

Good call!

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


More information about the cfe-commits mailing list