[clang] Add clang atomic control options and attribute (PR #114841)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 3 11:34:35 PST 2025
================
@@ -5958,6 +5968,58 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
RenderFloatingPointOptions(TC, D, OFastEnabled, Args, CmdArgs, JA);
+ if (Arg *AtomicArg = Args.getLastArg(options::OPT_fatomic_EQ)) {
----------------
erichkeane wrote:
IMO, we need a separate function for this, given how complicated this is. WHICH also makes me wonder; why are we letting this be this complicated. DO we do something similar/that would be sufficient for other flags? This whole thing below is really getting complicated.
ALSO, we need to make sure these round-trip, so make sure that they go th rough the 'Render' stuff correctly.
https://github.com/llvm/llvm-project/pull/114841
More information about the cfe-commits
mailing list