[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / ClangScanDeps / header_stat_before_open.m
blobce6f58f434aed8a522bb6c6c36f562cb4804daf8
1 // RUN: rm -rf %t.dir
2 // RUN: rm -rf %t.cdb
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
9 //
10 // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | \
11 // RUN:   FileCheck %s
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