annotate clang/test/ClangScanDeps/strip_diag_serialize.cpp @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 5f17cb93ff66
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t.dir
anatofuz
parents:
diff changeset
2 // RUN: rm -rf %t.cdb
anatofuz
parents:
diff changeset
3 // RUN: mkdir -p %t.dir
anatofuz
parents:
diff changeset
4 // RUN: cp %s %t.dir/strip_diag_serialize_input.cpp
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
5 // RUN: cp %s %t.dir/strip_diag_serialize_input_clangcl.cpp
150
anatofuz
parents:
diff changeset
6 // RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/strip_diag_serialize.json > %t.cdb
anatofuz
parents:
diff changeset
7 //
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
8 // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 2>&1 | FileCheck %s
150
anatofuz
parents:
diff changeset
9 // CHECK-NOT: unable to open file
anatofuz
parents:
diff changeset
10 // CHECK: strip_diag_serialize_input.cpp
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 #warning "diagnostic"