[clang] [clang][deps] Fix printing of object-like macros from dep directives (PR #200458)

Chen Miao via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 30 10:55:52 PDT 2026


================
@@ -1,6 +1,8 @@
 // Test UTF8 BOM at start of file
 // RUN: cat %S/Inputs/bom-directives.c | od -t x1 | grep -iq 'ef[[:space:]]*bb[[:space:]]*bf'
-// RUN: %clang_cc1 -DTEST -print-dependency-directives-minimized-source %S/Inputs/bom-directives.c 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -DTEST -print-dependency-directives-minimized-source %S/Inputs/bom-directives.c > %t 2>&1
----------------
ChenMiaoi wrote:

Is it necessary?

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


More information about the cfe-commits mailing list