Lines Matching +full:cache +full:- +full:dependency +full:- +full:path
1 // Check that the path of an imported modulemap file is not influenced by
2 // modules outside that module's dependency graph. Specifically, the "Foo"
4 // see the symlinked path.
8 // RUN: rm -rf %t
9 // RUN: split-file %s %t
10 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json
11 // RUN: ln -s module %t/include/symlink-to-module
13 // RUN: clang-scan-deps -compilation-database %t/cdb.json -j 1 \
14 // RUN: -format experimental-full -mode=preprocess-dependency-directives \
15 // RUN: -optimize-args=all -module-files-dir %t/build > %t/deps.json
17 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t
21 // CHECK: "command-line": [
22 // CHECK-NOT: ]
23 // CHECK: "-fmodule-map-file=[[PREFIX]]/include/module/module.modulemap"
28 //--- cdb.json.in
31 …nd": "clang -fsyntax-only DIR/test.c -F DIR/Frameworks -I DIR/include -fmodules -fimplicit-module-…
35 //--- include/module/module.modulemap
38 //--- include/module/mod.h
40 //--- include/module.modulemap
43 //--- include/other.h
44 #include "symlink-to-module/mod.h"
47 //--- Frameworks/Foo.framework/Modules/module.modulemap
49 //--- Frameworks/Foo.framework/Modules/module.private.modulemap
52 //--- Frameworks/Foo.framework/Headers/Foo.h
55 //--- Frameworks/Foo.framework/PrivateHeaders/Priv.h
59 //--- module.modulemap
62 //--- test.h
66 //--- test.c