Lines Matching full:top

2 #include "targeted-top.h"
8 // RUN: c-index-test -write-pch %t.h.pch %S/targeted-top.h
21 // LOCAL: Punctuation: "#" [2:1 - 2:2] inclusion directive=targeted-top.h
22 // LOCAL: Identifier: "include" [2:2 - 2:9] inclusion directive=targeted-top.h
23 // LOCAL: Literal: ""targeted-top.h"" [2:10 - 2:26] inclusion directive=targeted-top.h
68 // RUN: env CINDEXTEST_FAILONERROR=1 c-index-test -test-annotate-tokens=%S/targeted-top.h:1:1:12:1 …
71 // RUN: | FileCheck %s -check-prefix=TOP
74 // RUN: c-index-test -test-annotate-tokens=%S/targeted-top.h:1:1:12:1 %s -include %t.h \
78 // RUN: | FileCheck %s -check-prefix=TOP
80 // TOP: Punctuation: "#" [2:1 - 2:2] preprocessing directive=
81 // TOP: Identifier: "ifndef" [2:2 - 2:8] preprocessing directive=
82 // TOP: Identifier: "TARGETED_TOP_H" [2:9 - 2:23] preprocessing directive=
83 // TOP: Punctuation: "#" [3:1 - 3:2] preprocessing directive=
84 // TOP: Identifier: "define" [3:2 - 3:8] preprocessing directive=
85 // TOP: Identifier: "TARGETED_TOP_H" [3:9 - 3:23] macro definition=TARGETED_TOP_H
86 // TOP: Punctuation: "#" [5:1 - 5:2] inclusion directive=targeted-nested1.h
87 // TOP: Identifier: "include" [5:2 - 5:9] inclusion directive=targeted-nested1.h
88 // TOP: Literal: ""targeted-nested1.h"" [5:10 - 5:30] inclusion directive=targeted-nested1.h
89 // TOP: Keyword: "enum" [7:1 - 7:5] EnumDecl=:7:1 (Definition)
90 // TOP: Punctuation: "{" [7:6 - 7:7] EnumDecl=:7:1 (Definition)
91 // TOP: Identifier: "VALUE" [8:3 - 8:8] EnumConstantDecl=VALUE:8:3 (Definition)
92 // TOP: Punctuation: "=" [8:9 - 8:10] EnumConstantDecl=VALUE:8:3 (Definition)
93 // TOP: Literal: "3" [8:11 - 8:12] IntegerLiteral=
94 // TOP: Punctuation: "}" [9:1 - 9:2] EnumDecl=:7:1 (Definition)
95 // TOP: Punctuation: ";" [9:2 - 9:3]
96 // TOP: Keyword: "extern" [11:1 - 11:7]
97 // TOP: Keyword: "int" [11:8 - 11:11] VarDecl=TopVar:11:12
98 // TOP: Identifier: "TopVar" [11:12 - 11:18] VarDecl=TopVar:11:12
99 // TOP: Punctuation: ";" [11:18 - 11:19]