================ @@ -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; ---------------- yxsamliu wrote:
The option value is comma separated key/value pairs delimited by colon whereas the value could be on/off/true/false/yes/no/0/1. Currently the marshaling mechanism of clang option tablegen does not support that. That's why it has to be marshaled through MarshallingInfoStringVector. As a result, it needs to be represented as std::vector<std::string> and parsed manually. 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