1 | // RUN: rm -rf %/t |
---|---|
2 | // RUN: mkdir %/t |
3 | // RUN: cp %/S/Inputs/file.script %/t/file.script |
4 | // RUN: cp %/S/Inputs/runtime_file.script %/t/runtime_file.script |
5 | // Need to embed the correct temp path in the actual JSON-RPC requests. |
6 | // RUN: sed -e "s|DIRECTORY|%/t|" %/t/file.script > %/t/file.script.temp |
7 | |
8 | // RUN: clang-query -c 'file %/t/file.script.temp' %s -- | FileCheck %s |
9 | |
10 | // CHECK: file-query.c:11:1: note: "f" binds here |
11 | void bar(void) {} |
12 | |
13 | // CHECK: file-query.c:14:1: note: "v" binds here |
14 | int baz{1}; |
15 |