Debian Codegraph @

clang-tools-extra/test/clang-include-fixer/merge.test

raw
1 # RUN: find-all-symbols -merge-dir=%S/Inputs/merge %t.merged
2 # RUN: sed '/^#/d' %s > %t.golden
3 # RUN: diff --strip-trailing-cr -u %t.golden %t.merged
4 ---
5 Name: bar
6 Contexts:
7 - ContextType: Namespace
8 ContextName: a
9 FilePath: '../include/bar.h'
10 Type: Class
11 Seen: 1
12 Used: 1
13 ...
14 ---
15 Name: bar
16 Contexts:
17 - ContextType: Namespace
18 ContextName: a
19 FilePath: '../include/barbar.h'
20 Type: Class
21 Seen: 1
22 Used: 0
23 ...
24 ---
25 Name: foo
26 Contexts:
27 - ContextType: Namespace
28 ContextName: a
29 FilePath: foo.h
30 Type: Class
31 Seen: 2
32 Used: 2
33 ...