Bump version to 19.1.0git
[llvm-project.git] / clang-tools-extra / test / clang-query / file-query.c
blob10a44e7aaccf24f14d6668620c7ed1251d3fa7ca
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
8 // RUN: clang-query -c 'file %/t/file.script.temp' %s -- | FileCheck %s
10 // CHECK: file-query.c:11:1: note: "f" binds here
11 void bar(void) {}
13 // CHECK: file-query.c:14:1: note: "v" binds here
14 int baz{1};