================ @@ -623,6 +623,10 @@ class LangOptions : public LangOptionsBase { // WebAssembly target. bool NoWasmOpt = false; + /// The default atomic codegen options specified by command line in the + /// format of key:{on|off}. + std::vector<std::string> AtomicOptionsAsWritten; ---------------- AaronBallman wrote:
If these are key/value pairs, wouldn't it make more sense to store in a set as opposed to making the consumer of language options deal with parsing? https://github.com/llvm/llvm-project/pull/114841 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits