3 // RUN: mkdir -p %t.dir
4 // RUN: cp %s %t.dir/header_stat_before_open_input.m
5 // RUN: cp %s %t.dir/header_stat_before_open_input_clangcl.m
6 // RUN: mkdir %t.dir/Inputs
7 // RUN: cp -R %S/Inputs/frameworks %t.dir/Inputs/frameworks
8 // RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/header_stat_before_open_cdb.json > %t.cdb
10 // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | \
13 #include "Framework/Framework.h"
14 #include "Framework/PrivateHeader.h"
16 // CHECK: header_stat_before_open_input.o
17 // CHECK-NEXT: header_stat_before_open_input.m
18 // CHECK-NEXT: Inputs{{/|\\}}frameworks{{/|\\}}Framework.framework{{/|\\}}Headers{{/|\\}}Framework.h
19 // CHECK-NEXT: Inputs{{/|\\}}frameworks{{/|\\}}Framework.framework{{/|\\}}PrivateHeaders{{/|\\}}PrivateHeader.h
21 // CHECK: header_stat_before_open_input_clangcl.o
22 // CHECK-NEXT: header_stat_before_open_input_clangcl.m
23 // CHECK-NEXT: Inputs{{/|\\}}frameworks{{/|\\}}Framework.framework{{/|\\}}Headers{{/|\\}}Framework.h
24 // CHECK-NEXT: Inputs{{/|\\}}frameworks{{/|\\}}Framework.framework{{/|\\}}PrivateHeaders{{/|\\}}PrivateHeader.h