Lines Matching +full:cache +full:- +full:dependency +full:- +full:path
4 // RUN: rm -rf %t
5 // RUN: split-file %s %t
7 //--- cdb.json.template
11 "command": "clang DIR/tu.c -fmodules -fmodules-cache-path=DIR/cache -I DIR/modules -F DIR/frameworks -o DIR/tu.o"
14 //--- frameworks/FW.framework/Modules/module.private.modulemap
19 //--- frameworks/FW.framework/PrivateHeaders/A.h
21 //--- frameworks/FW.framework/PrivateHeaders/B.h
22 #include "dependency.h"
24 //--- modules/module.modulemap
27 module Dependency { header "dependency.h" }
28 //--- modules/poison.h
34 //--- modules/import.h
36 //--- modules/dependency.h
38 //--- tu.c
48 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.template > %t/cdb.json
49 // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full > %t/deps.json
50 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t
54 // CHECK: "translation-units": [
55 // CHECK-NEXT: {
56 // CHECK-NEXT: "commands": [
57 // CHECK-NEXT: {
58 // CHECK-NEXT: "clang-context-hash": "{{.*}}",
59 // CHECK-NEXT: "clang-module-deps": [
60 // CHECK-NEXT: {
61 // CHECK-NEXT: "context-hash": "{{.*}}",
62 // CHECK-NEXT: "module-name": "FW_Private"
63 // CHECK-NEXT: }
65 // CHECK-NEXT: "command-line": [
67 // CHECK: "file-deps": [
68 // CHECK-NEXT: "[[PREFIX]]/tu.c"
69 // CHECK-NEXT: ],
70 // CHECK-NEXT: "input-file": "[[PREFIX]]/tu.c"
71 // CHECK-NEXT: }