================ @@ -5881,6 +5881,32 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, RenderFloatingPointOptions(TC, D, OFastEnabled, Args, CmdArgs, JA); + if (Arg *AtomicArg = Args.getLastArg(options::OPT_fatomic_EQ)) { + if (!AtomicArg->getNumValues()) { + D.Diag(clang::diag::warn_drv_empty_joined_argument) + << AtomicArg->getAsString(Args); + } else { + bool Valid = true; + std::set<StringRef> Keys; ---------------- arsenm wrote:
Don't use std::set https://github.com/llvm/llvm-project/pull/102569 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits