[PATCH] D121683: Emit a warning if -xc/-xc++ is after the last input file
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 15 10:38:05 PDT 2022
MaskRay added inline comments.
================
Comment at: clang/test/Driver/x-args.c:1
+// RUN: %clang -fsyntax-only -Werror -xc %s
+// RUN: %clang -fsyntax-only -Werror %s -xc %s
----------------
MaskRay wrote:
> The first two RUN lines are unneeded
Sorry, they are needed because of -Werror.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121683/new/
https://reviews.llvm.org/D121683
More information about the cfe-commits
mailing list