This reverts commit 30cb49b44e4e2af2e0627b2aa33df0ba57ab9e55. It caused test failures on Fuchsia Toolchain Mac builds: https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-mac-x64/b8818888168677577537/overview
23 lines
732 B
C++
23 lines
732 B
C++
// RUN: rm -rf %t.dir
|
|
// RUN: rm -rf %t.cdb
|
|
// RUN: mkdir -p %t.dir
|
|
// RUN: cp %s %t.dir/vfsoverlay_input.cpp
|
|
// RUN: cp %s %t.dir/vfsoverlay_input_clangcl.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
|
|
|
|
// CHECK: vfsoverlay_input_clangcl.o
|
|
// CHECK-NEXT: vfsoverlay_input_clangcl.cpp
|
|
// CHECK-NEXT: Inputs{{/|\\}}header.h
|