================
@@ -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))
----------------
perry-ca wrote:

ok.  The dev manual for clang has:
```
Remember that the -cc1 command line interface is intended only for Clang
developers, meaning it does not need to mirror the driver interface, maintain
backward compatibility or be compatible with GCC.
```
We don't need to worry about that scenario.  

https://github.com/llvm/llvm-project/pull/207416
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to