================
@@ -2198,15 +2193,8 @@ bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions
&Opts, ArgList &Args,
<< A->getSpelling() << T.str();
}
- if (T.isOSzOS()) {
- if (const Arg *A =
- Args.getLastArg(OPT_mzos_ppa1_name, OPT_mno_zos_ppa1_name)) {
- if (A->getOption().matches(OPT_mzos_ppa1_name))
- Opts.setZOSPPA1Name(CodeGenOptions::ZOSPPA1NameKind::Emit);
- else
- Opts.setZOSPPA1Name(CodeGenOptions::ZOSPPA1NameKind::NoEmit);
- }
- }
+ if (!T.isOSzOS() && Args.hasArg(OPT_mzos_ppa1_name, OPT_mno_zos_ppa1_name))
----------------
sujianIBM wrote:
I removed the code as suggested. Thanks!
https://github.com/llvm/llvm-project/pull/207416
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits