[PATCH] D145021: [Clang][AIX][p] Claim -p in front end

David Tenty via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 1 08:57:16 PST 2023


daltenty added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:6327
   }
-  if (Arg *A = Args.getLastArgNoClaim(options::OPT_p)) {
+  if (Arg *A = Args.getLastArg(options::OPT_p)) {
     if (TC.getTriple().isOSAIX()) {
----------------
Actually, a question here. Does this now result in the arg being claimed even if nothing was done it? Since there are case we don't go into the error path.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145021



More information about the cfe-commits mailing list