mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 20:51:35 +00:00
172e8a7a5d
This ensures that clang-scan-deps won't write out diagnostics when scanning dependencies. llvm-svn: 372444
12 lines
372 B
C++
12 lines
372 B
C++
// RUN: rm -rf %t.dir
|
|
// RUN: rm -rf %t.cdb
|
|
// RUN: mkdir -p %t.dir
|
|
// RUN: cp %s %t.dir/strip_diag_serialize_input.cpp
|
|
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/strip_diag_serialize.json > %t.cdb
|
|
//
|
|
// RUN: clang-scan-deps -compilation-database %t.cdb 2>&1 | FileCheck %s
|
|
// CHECK-NOT: unable to open file
|
|
// CHECK: strip_diag_serialize_input.cpp
|
|
|
|
#warning "diagnostic"
|