[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / clang / test / Tooling / clang-check.cpp
blob0bc821f9916d2c4b8486a1a74555fa39cae2fd6b
1 // RUN: rm -rf %t
2 // RUN: mkdir %t
3 // RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","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" 2>&1|FileCheck %s
6 // FIXME: Make the above easier.
8 // CHECK: a type specifier is required
9 invalid;