[clang] Disable -fdollars-in-identifiers by default (PR #135407)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 14 05:32:39 PDT 2025
================
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
-// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fdollars-in-identifiers -fasm-blocks -emit-llvm -o - | FileCheck %s
----------------
AaronBallman wrote:
> Perhaps a better idea would be to enable -fdollars-in-identifiers under -fms-compatibility
I thought about this but explicitly decided against it because that means dollars in identifiers is enabled by default for anyone using Clang built by MSVC and targeting Windows. I think we may want to see what folks run into; maybe we want to enable it only for clang-cl and not clang? Maybe we want to be more clever than that? I dunno.
https://github.com/llvm/llvm-project/pull/135407
More information about the cfe-commits
mailing list