2 // RUN: split-file %s %t
3 // RUN: sed -e "s|DIR|%/t|g" %t/cdb1.json.template > %t/cdb1.json
5 // RUN: clang-scan-deps -compilation-database %t/cdb1.json -format experimental-full > %t/result1.txt
6 // RUN: FileCheck %s -input-file %t/result1.txt
10 // CHECK: "command-line": [
11 // CHECK-NOT: "-mllvm"
15 // CHECK-NOT: "name": "A"
16 // CHECK: "translation-units"
18 //--- cdb1.json.template
22 "command": "clang -Imodules/A -fmodules -fmodules-cache-path=DIR/module-cache -fimplicit-modules -fimplicit-module-maps -fsyntax-only DIR/t1.m",
27 "command": "clang -Imodules/A -fmodules -fmodules-cache-path=DIR/module-cache -fimplicit-modules -fimplicit-module-maps -mllvm -stackmap-version=2 -fsyntax-only DIR/t2.m",
32 //--- modules/A/module.modulemap