Lines Matching +full:cache +full:- +full:dependency +full:- +full:path

1 // Check that a module from -fmodule-name= does not accidentally pick up extra
4 // RUN: rm -rf %t
5 // RUN: split-file %s %t
10 // RUN: clang-scan-deps -compilation-database %t/cdb_pch.json \
11 // RUN: -format experimental-full -mode preprocess-dependency-directives \
15 // RUN: %deps-to-rsp %t/deps_pch.json --module-name A > %t/A.rsp
16 // RUN: %deps-to-rsp %t/deps_pch.json --module-name B > %t/B.rsp
17 // RUN: %deps-to-rsp %t/deps_pch.json --tu-index 0 > %t/pch.rsp
23 // RUN: clang-scan-deps -compilation-database %t/cdb.json \
24 // RUN: -format experimental-full -mode preprocess-dependency-directives \
27 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t
33 // CHECK-NEXT: "modules": [
34 // CHECK-NEXT: {
35 // CHECK: "clang-module-deps": [
36 // CHECK-NEXT: {
37 // CHECK: "module-name": "E"
39 // CHECK-NEXT: ]
40 // CHECK: "clang-modulemap-file": "[[PREFIX]]/module.modulemap"
41 // CHECK: "command-line": [
42 // CHECK-NOT: "-fmodule-file=
43 // CHECK: "-fmodule-file={{(E=)?}}[[PREFIX]]/{{.*}}/E-{{.*}}.pcm"
44 // CHECK-NOT: "-fmodule-file=
50 //--- cdb_pch.json.template
54 …: "clang -x c-header DIR/prefix.h -o DIR/prefix.h.pch -fmodules -fimplicit-modules -fimplicit-modu…
57 //--- cdb.json.template
61-fsyntax-only DIR/tu.c -include DIR/prefix.h -fmodule-name=C -fmodules -fimplicit-modules -fimpli…
64 //--- module.modulemap
71 //--- A.h
75 //--- B.h
80 //--- C.h
85 //--- D.h
90 //--- E.h
94 //--- prefix.h
97 //--- tu.c
98 // C.h is first included textually due to -fmodule-name=C.