You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
562 B
18 lines
562 B
// RUN: rm -rf %t.dir
|
|
// RUN: rm -rf %t.cdb
|
|
// RUN: mkdir -p %t.dir
|
|
// RUN: cp %s %t.dir/vfsoverlay_input.cpp
|
|
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/vfsoverlay.yaml > %t.dir/vfsoverlay.yaml
|
|
// RUN: mkdir %t.dir/Inputs
|
|
// RUN: cp %S/Inputs/header.h %t.dir/Inputs/header.h
|
|
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/vfsoverlay_cdb.json > %t.cdb
|
|
//
|
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | \
|
|
// RUN: FileCheck %s
|
|
|
|
#include "not_real.h"
|
|
|
|
// CHECK: vfsoverlay_input.o
|
|
// CHECK-NEXT: vfsoverlay_input.cpp
|
|
// CHECK-NEXT: Inputs{{/|\\}}header.h
|