[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang-tools-extra / clangd / test / GH75115.test
blobdc86f5b9a6cee0859f3e7f38bffdc799cc3e2efa
1 // RUN: rm -rf %t.dir && mkdir -p %t.dir
2 // RUN: echo '[{"directory": "%/t.dir", "command": "clang --target=x86_64-pc-windows-msvc -x c GH75115.test", "file": "GH75115.test"}]' > %t.dir/compile_commands.json
3 // RUN: clangd -enable-config=0 --compile-commands-dir=%t.dir -check=%s 2>&1 | FileCheck -strict-whitespace %s
5 // CHECK: Building preamble...
6 // CHECK-NEXT: Built preamble
7 // CHECK-NEXT: Indexing headers...
8 // CHECK-NEXT: Building AST...
9 // CHECK-NEXT: Indexing AST...
10 // CHECK-NEXT: Building inlay hints
11 // CHECK-NEXT: semantic highlighting
12 // CHECK-NEXT: Testing features at each token
13 // CHECK-NEXT: All checks completed, 0 errors
15 #define assert