Mercurial > hg > CbC > CbC_llvm
view clang/test/ClangScanDeps/target-filename.cpp @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 79ff65ed7e25 |
children |
line wrap: on
line source
// RUN: rm -rf %t.dir // RUN: rm -rf %t.cdb // RUN: mkdir -p %t.dir // RUN: cp %s %t.dir/target-filename_input.cpp // 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/target-filename-cdb.json > %t.cdb // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | FileCheck %s // CHECK: target-filename_input.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: a.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: b.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: last.o: // CHECK-NEXT: target-filename_input.cpp // CHECK: target-filename_input.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-a.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-b.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-c.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-d.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-e.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-lastf.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-lastg.o: // CHECK-NEXT: target-filename_input.cpp // CHECK-NEXT: clangcl-lasth.o: // CHECK-NEXT: target-filename_input.cpp