[clang] [NFC] Add redirect the output (PR #179623)
Mikael Holmen via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 4 00:24:29 PST 2026
================
@@ -5,11 +5,11 @@
// RUN: -o - -mconstructor-aliases -O1 -disable-llvm-passes | \
// RUN: FileCheck %s --check-prefix=CHECK --check-prefix=NOCXX
// RUN: %clang_cc1 -triple x86_64-windows -fasync-exceptions -fcxx-exceptions -fexceptions \
-// RUN: -fms-extensions -x c++ -emit-llvm -verify %s -DERR1
+// RUN: -fms-extensions -x c++ -emit-llvm -verify -o - %s -DERR1
----------------
mikaelholmen wrote:
We use "-o /dev/null" in 2311 RUN lines in clang/test, so that is a very common way to throw away the output when it's not interesting.
Redirecting to stdout in this case looks wrong.
https://github.com/llvm/llvm-project/pull/179623
More information about the cfe-commits
mailing list