Mercurial > hg > CbC > CbC_llvm
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 |
rev | line source |
---|---|
150 | 1 // RUN: rm -rf %t |
2 // RUN: mkdir %t | |
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 | |
4 // RUN: cp "%s" "%t/test.cpp" | |
5 // RUN: not clang-check -p "%t" "%t/test.cpp" -extra-arg=-v 2>&1|FileCheck %s | |
6 // FIXME: Make the above easier. | |
7 | |
8 // CHECK: Invocation | |
9 // CHECK-NOT: {{ -v}} | |
10 // CHECK: C++ requires | |
11 invalid; |