Skip to content

Commit 91ec922

Browse files
committed
Add -fbuiltin-headers-in-system-modules to clang-scan-deps test
One of the things this test is checking for is that builtin headers get the correct path in Darwin system modules. Add -fbuiltin-headers-in-system-modules explicitly so that the test does not depend on the SDK version. rdar://133239616 (cherry picked from commit 55d362b)
1 parent a151c6f commit 91ec922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/ClangScanDeps/modules-include-tree-prefix-map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
[{
316316
"file": "DIR/tu.m",
317317
"directory": "DIR",
318-
"command": "CLANG -target x86_64-apple-darwin10 -fsyntax-only DIR/tu.m -I DIR -isystem DIR/System -fmodules -fimplicit-modules -fimplicit-module-maps -fmodules-cache-path=DIR/module-cache -Rcompile-job-cache"
318+
"command": "CLANG -target x86_64-apple-darwin10 -fsyntax-only DIR/tu.m -I DIR -isystem DIR/System -fmodules -fimplicit-modules -fimplicit-module-maps -fmodules-cache-path=DIR/module-cache -Rcompile-job-cache -Xclang -fbuiltin-headers-in-system-modules"
319319
}]
320320

321321
//--- module.modulemap

0 commit comments

Comments
 (0)