[PATCH] D137756: [z/OS][p][pg] Throw Error When Using -p or -pg on z/OS

Sean via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 21:17:59 PST 2022


SeanP added inline comments.


================
Comment at: clang/include/clang/Basic/DiagnosticDriverKinds.td:241
+def err_option_unsupported_zos: Error<
+  "the clang compiler does not support the '%0' option on z/OS.">;
+
----------------
Rather than saying "on z/OS" you should say "by the target '%1'" and pass in the triple.  There must be the equivalent message already.  If not rename the message too (eg. err_option_unsupported_target).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137756/new/

https://reviews.llvm.org/D137756



More information about the cfe-commits mailing list