[clang] c826c07 - [Test] Update clang/test/Modules/crash-vfs-include-pch.m (#102080)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 6 10:06:52 PDT 2024
Author: Steven Wu
Date: 2024-08-06T10:06:48-07:00
New Revision: c826c074813a668de87d4aa8bfc95f9f8adf1e5f
URL: https://github.com/llvm/llvm-project/commit/c826c074813a668de87d4aa8bfc95f9f8adf1e5f
DIFF: https://github.com/llvm/llvm-project/commit/c826c074813a668de87d4aa8bfc95f9f8adf1e5f.diff
LOG: [Test] Update clang/test/Modules/crash-vfs-include-pch.m (#102080)
Avoid the driver error for mis-using a clang cc1 flag as driver flag in
the crash test.
Added:
Modified:
clang/test/Modules/crash-vfs-include-pch.m
Removed:
################################################################################
diff --git a/clang/test/Modules/crash-vfs-include-pch.m b/clang/test/Modules/crash-vfs-include-pch.m
index 4c05a07d0f74d..9ca10020094b0 100644
--- a/clang/test/Modules/crash-vfs-include-pch.m
+++ b/clang/test/Modules/crash-vfs-include-pch.m
@@ -10,7 +10,7 @@
// RUN: env FORCE_CLANG_DIAGNOSTICS_CRASH= TMPDIR=%t TEMP=%t TMP=%t \
// RUN: not %clang %s -E -include-pch %t/out/pch-used.h.pch -fmodules -nostdlibinc \
-// RUN: -fimplicit-module-maps -fbuiltin-headers-in-system-modules \
+// RUN: -fimplicit-module-maps -Xclang -fbuiltin-headers-in-system-modules \
// RUN: -fmodules-cache-path=%t/cache -O0 -Xclang -fno-validate-pch \
// RUN: -isystem %S/Inputs/System/usr/include -o %t/output.E 2>&1 | FileCheck %s
More information about the cfe-commits
mailing list