1 | // RUN: clang-include-fixer -db=fixed -input='foo= "foo.h","bar.h"' -query-symbol="foo" test.cpp -- | FileCheck %s |
2 | |
3 | // CHECK: "FilePath": "test.cpp", |
4 | // CHECK-NEXT:"QuerySymbolInfos": [ |
5 | // CHECK-NEXT: {"RawIdentifier": "foo", |
6 | // CHECK-NEXT: "Range":{"Offset":0,"Length":0}} |
7 | // CHECK-NEXT:], |
8 | // CHECK-NEXT:"HeaderInfos": [ |
9 | // CHECK-NEXT: {"Header": "\"foo.h\"", |
10 | // CHECK-NEXT: "QualifiedName": "foo"}, |
11 | // CHECK-NEXT: {"Header": "\"bar.h\"", |
12 | // CHECK-NEXT: "QualifiedName": "foo"} |
13 | // CHECK-NEXT:] |
14 | |