[PATCH] D135389: [Clang] Emit a warning for ambiguous joined '-o' arguments

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 6 14:31:48 PDT 2022


jhuber6 added inline comments.


================
Comment at: clang/test/Driver/unknown-arg.c:74
+
+// RUN: %clang -### --offload-arch=sm_70 -o ffload-device-only -Werror=unknown-argument %s
----------------
tra wrote:
> Has this patch been updated with incomplete changes? This RUN line seems to miss `2>&1 | FileCheck` and the check lines.
I'm relying on the fact that `-Werror` will cause clang to return a non-zero error code and make the test fail if any warnings show up.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135389



More information about the cfe-commits mailing list