2019-08-07 04:43:25 +08:00
|
|
|
// RUN: rm -rf %t.dir
|
|
|
|
// RUN: rm -rf %t.cdb
|
|
|
|
// RUN: mkdir -p %t.dir
|
2019-09-11 08:30:26 +08:00
|
|
|
// RUN: cp %s %t.dir/header_stat_before_open_input.m
|
2019-08-07 04:43:25 +08:00
|
|
|
// RUN: mkdir %t.dir/Inputs
|
|
|
|
// RUN: cp -R %S/Inputs/frameworks %t.dir/Inputs/frameworks
|
|
|
|
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/header_stat_before_open_cdb.json > %t.cdb
|
|
|
|
//
|
|
|
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | \
|
|
|
|
// RUN: FileCheck %s
|
|
|
|
|
|
|
|
#include "Framework/Framework.h"
|
|
|
|
#include "Framework/PrivateHeader.h"
|
|
|
|
|
2019-09-12 08:48:45 +08:00
|
|
|
// CHECK: header_stat_before_open_input.o
|
2019-09-11 08:30:26 +08:00
|
|
|
// CHECK-NEXT: header_stat_before_open_input.m
|
2019-08-07 05:45:43 +08:00
|
|
|
// CHECK-NEXT: Inputs{{/|\\}}frameworks{{/|\\}}Framework.framework{{/|\\}}Headers{{/|\\}}Framework.h
|
|
|
|
// CHECK-NEXT: Inputs{{/|\\}}frameworks{{/|\\}}Framework.framework{{/|\\}}PrivateHeaders{{/|\\}}PrivateHeader.h
|