[clang] [NFC] Add redirect the output (PR #179623)

Mikael Holmen via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 4 01:32:32 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:

In
 https://github.com/llvm/llvm-project/actions/runs/21664189172/job/62455461658
I see that it uses "-o - /dev/null" and not just "-o /dev/null".

But maybe "-emit-llvm-only" is even better.

https://github.com/llvm/llvm-project/pull/179623


More information about the cfe-commits mailing list