Author: Nico Weber Date: 2021-09-10T14:16:45-04:00 New Revision: 23f256f2b19843fa08f83dce43bab362e8ce2235
URL: https://github.com/llvm/llvm-project/commit/23f256f2b19843fa08f83dce43bab362e8ce2235 DIFF: https://github.com/llvm/llvm-project/commit/23f256f2b19843fa08f83dce43bab362e8ce2235.diff LOG: [clang] Fix typo in test from a723310b4 We want the driver-level flag here, else the test passes for the wrong reasons. See comments on https://reviews.llvm.org/D99901. Added: Modified: clang/test/Driver/nostdincxx.cpp Removed: ################################################################################ diff --git a/clang/test/Driver/nostdincxx.cpp b/clang/test/Driver/nostdincxx.cpp index 774874d80d82..dad40eaeddaf 100644 --- a/clang/test/Driver/nostdincxx.cpp +++ b/clang/test/Driver/nostdincxx.cpp @@ -1,7 +1,7 @@ // RUN: not %clangxx -nostdinc %s 2>&1 | FileCheck %s // RUN: not %clangxx -nostdinc++ %s 2>&1 | FileCheck %s // RUN: not %clangxx -nostdlibinc %s 2>&1 | FileCheck %s -// RUN: not %clangxx -triple x86_64-unknown-unknown-gnu -fsyntax-only -nostdinc -nostdinc++ %s 2>&1 | FileCheck /dev/null --implicit-check-not=-Wunused-command-line-argument +// RUN: not %clangxx --target=x86_64-unknown-unknown-gnu -fsyntax-only -nostdinc -nostdinc++ %s 2>&1 | FileCheck /dev/null --implicit-check-not=-Wunused-command-line-argument // CHECK: file not found #include <vector> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits