[clang] Add clang atomic control options and attribute (PR #114841)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 29 15:29:48 PST 2025


================
@@ -2355,6 +2355,14 @@ def fsymbol_partition_EQ : Joined<["-"], "fsymbol-partition=">, Group<f_Group>,
   Visibility<[ClangOption, CC1Option]>,
   MarshallingInfoString<CodeGenOpts<"SymbolPartition">>;
 
+def fatomic_EQ : CommaJoined<["-"], "fatomic=">, Group<f_Group>,
+  Visibility<[ClangOption, CC1Option]>,
+  HelpText<"Specify atomic codegen options as a comma-separated list of "
----------------
Artem-B wrote:

Nit. It reads like "options for atomic codegen". I assume that the options are for the codegen to use on atomic operations."Specify codegen options for atomic operations" may work a bit better for that.


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


More information about the cfe-commits mailing list