Skip to content

Commit df741b2

Browse files
authored
[HeaderSearch] Make a test independent of the local environment. (#100011)
Don't ask the driver to inspect the local environment but use `cc1` directly.
1 parent e64e745 commit df741b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Modules/subdirectory-module-maps-working-dir.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// RUN: rm -rf %t
2-
// RUN: %clang -fsyntax-only -fmodules -fmodules-cache-path=%t \
2+
// RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
33
// RUN: -working-directory %S/Inputs \
44
// RUN: -I subdirectory-module-maps-working-dir \
5-
// RUN: %s -Werror=implicit-function-declaration -Xclang -verify
5+
// RUN: %s -Werror=implicit-function-declaration -verify
66

77
@import ModuleInSubdir;
88

0 commit comments

Comments
 (0)