annotate clang/test/Tooling/clang-check-strip-o.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 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
2 // RUN: mkdir %t
anatofuz
parents:
diff changeset
3 // RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp -o foo -ofoo","file":"%t/test.cpp"}]' | sed -e 's/\\/\//g' > %t/compile_commands.json
anatofuz
parents:
diff changeset
4 // RUN: cp "%s" "%t/test.cpp"
anatofuz
parents:
diff changeset
5 // RUN: not clang-check -p "%t" "%t/test.cpp" -extra-arg=-v 2>&1|FileCheck %s
anatofuz
parents:
diff changeset
6 // FIXME: Make the above easier.
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // CHECK: Invocation
anatofuz
parents:
diff changeset
9 // CHECK-NOT: {{ -v}}
anatofuz
parents:
diff changeset
10 // CHECK: C++ requires
anatofuz
parents:
diff changeset
11 invalid;