1 // RUN: rm -rf %t.dir 2 // RUN: rm -rf %t.cdb 3 // RUN: mkdir -p %t.dir 4 // RUN: cp %s %t.dir/strip_diag_serialize_input.cpp 5 // RUN: cp %s %t.dir/strip_diag_serialize_input_clangcl.cpp 6 // RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/strip_diag_serialize.json > %t.cdb 7 // 8 // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 2>&1 | FileCheck %s 9 // CHECK-NOT: unable to open file 10 // CHECK: strip_diag_serialize_input.cpp 11 12 #warning "diagnostic" 13