[clang] 0026874 - fix warn-xparser test

Mikhail Goncharov via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 23 06:34:16 PST 2022


Author: Mikhail Goncharov
Date: 2022-12-23T15:34:06+01:00
New Revision: 0026874c8bd0616b520779b9fcfdb05e53ea4dca

URL: https://github.com/llvm/llvm-project/commit/0026874c8bd0616b520779b9fcfdb05e53ea4dca
DIFF: https://github.com/llvm/llvm-project/commit/0026874c8bd0616b520779b9fcfdb05e53ea4dca.diff

LOG: fix warn-xparser test

for https://reviews.llvm.org/D140224

Added: 
    

Modified: 
    clang/test/Driver/warn-Xparser.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/warn-Xparser.c b/clang/test/Driver/warn-Xparser.c
index 191826a6f4af9..d20db97dbd820 100644
--- a/clang/test/Driver/warn-Xparser.c
+++ b/clang/test/Driver/warn-Xparser.c
@@ -1,5 +1,5 @@
 /// Some macOS projects use -Xparser.
-// RUN: %clang -c -Xparser %s 2>&1 | FileCheck %s
+// RUN: %clang -c -o /dev/null -Xparser %s 2>&1 | FileCheck %s
 
 // CHECK: warning: argument unused during compilation: '-Xparser' [-Wunused-command-line-argument]
 


        


More information about the cfe-commits mailing list