Lines Matching +full:external +full:- +full:contents
1 // This test checks that VFS-mapped module map path has the correct spelling
4 // RUN: rm -rf %t
5 // RUN: split-file %s %t
7 //--- actual/One.h
9 //--- actual/Two.h
11 //--- frameworks/FW.framework/Modules/module.modulemap
16 //--- tu.m
19 //--- overlay.json.in
22 "case-sensitive": "false",
25 "contents": [
27 "external-contents": "DIR/actual/One.h",
32 "external-contents": "DIR/actual/Two.h",
43 //--- cdb.json.in
47 …"command": "clang -fmodules -fmodules-cache-path=DIR/cache -ivfsoverlay DIR/overlay.json -F DIR/fr…
50 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json
51 // RUN: sed -e "s|DIR|%/t|g" %t/overlay.json.in > %t/overlay.json
52 // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full > %t/result.json
53 // RUN: cat %t/result.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t
56 // CHECK-NEXT: "modules": [
57 // CHECK-NEXT: {
58 // CHECK-NEXT: "clang-module-deps": [],
59 // CHECK-NEXT: "clang-modulemap-file": "[[PREFIX]]/frameworks/FW.framework/Modules/module.mod…
60 // CHECK-NEXT: "command-line": [
61 // CHECK: "-x"
62 // CHECK-NEXT: "objective-c"
63 // CHECK-NEXT: "[[PREFIX]]/frameworks/FW.framework/Modules/module.modulemap"
65 // CHECK-NEXT: "context-hash": "{{.*}}",
66 // CHECK-NEXT: "file-deps": [
68 // CHECK-NEXT: "link-libraries": [
69 // CHECK-NEXT: {
70 // CHECK-NEXT: "isFramework": true,
71 // CHECK-NEXT: "link-name": "FW"
72 // CHECK-NEXT: }
73 // CHECK-NEXT: ],
74 // CHECK-NEXT: "name": "FW"
75 // CHECK-NEXT: }
76 // CHECK-NEXT: ]