Home
last modified time | relevance | path

Searched refs:SymbolKind (Results 1 – 25 of 130) sorted by relevance

123456

/external/clang/lib/Index/
DIndexSymbol.cpp55 Info.Kind = SymbolKind::Unknown; in getSymbolInfo()
62 Info.Kind = SymbolKind::Struct; break; in getSymbolInfo()
64 Info.Kind = SymbolKind::Union; break; in getSymbolInfo()
66 Info.Kind = SymbolKind::Class; in getSymbolInfo()
70 Info.Kind = SymbolKind::Protocol; in getSymbolInfo()
74 Info.Kind = SymbolKind::Enum; break; in getSymbolInfo()
92 Info.Kind = SymbolKind::Module; in getSymbolInfo()
95 Info.Kind = SymbolKind::TypeAlias; break; // Lang = C in getSymbolInfo()
97 Info.Kind = SymbolKind::Function; in getSymbolInfo()
100 Info.Kind = SymbolKind::Variable; in getSymbolInfo()
[all …]
/external/llvm-project/clang/lib/Index/
DIndexSymbol.cpp88 Info.Kind = SymbolKind::Unknown; in getSymbolInfo()
110 Info.Kind = SymbolKind::Struct; break; in getSymbolInfo()
112 Info.Kind = SymbolKind::Union; break; in getSymbolInfo()
114 Info.Kind = SymbolKind::Class; in getSymbolInfo()
118 Info.Kind = SymbolKind::Protocol; in getSymbolInfo()
122 Info.Kind = SymbolKind::Enum; break; in getSymbolInfo()
145 Info.Kind = SymbolKind::Variable; in getSymbolInfo()
147 Info.Kind = SymbolKind::Parameter; in getSymbolInfo()
149 Info.Kind = SymbolKind::StaticProperty; in getSymbolInfo()
171 Info.Kind = SymbolKind::Module; in getSymbolInfo()
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DSymbolRecordHelpers.h20 inline bool symbolOpensScope(SymbolKind Kind) { in symbolOpensScope()
22 case SymbolKind::S_GPROC32: in symbolOpensScope()
23 case SymbolKind::S_LPROC32: in symbolOpensScope()
24 case SymbolKind::S_LPROC32_ID: in symbolOpensScope()
25 case SymbolKind::S_GPROC32_ID: in symbolOpensScope()
26 case SymbolKind::S_BLOCK32: in symbolOpensScope()
27 case SymbolKind::S_SEPCODE: in symbolOpensScope()
28 case SymbolKind::S_THUNK32: in symbolOpensScope()
29 case SymbolKind::S_INLINESITE: in symbolOpensScope()
30 case SymbolKind::S_INLINESITE2: in symbolOpensScope()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DSymbolRecordHelpers.h19 inline bool symbolOpensScope(SymbolKind Kind) { in symbolOpensScope()
21 case SymbolKind::S_GPROC32: in symbolOpensScope()
22 case SymbolKind::S_LPROC32: in symbolOpensScope()
23 case SymbolKind::S_LPROC32_ID: in symbolOpensScope()
24 case SymbolKind::S_GPROC32_ID: in symbolOpensScope()
25 case SymbolKind::S_BLOCK32: in symbolOpensScope()
26 case SymbolKind::S_SEPCODE: in symbolOpensScope()
27 case SymbolKind::S_THUNK32: in symbolOpensScope()
28 case SymbolKind::S_INLINESITE: in symbolOpensScope()
29 case SymbolKind::S_INLINESITE2: in symbolOpensScope()
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DFindSymbolsTests.cpp65 ElementsAre(AllOf(QName("MACRO"), WithKind(SymbolKind::String)))); in TEST()
92 AllOf(QName("GlobalStruct"), WithKind(SymbolKind::Struct)), in TEST()
93 AllOf(QName("global_func"), WithKind(SymbolKind::Function)), in TEST()
94 AllOf(QName("global_var"), WithKind(SymbolKind::Variable)))); in TEST()
108 WithKind(SymbolKind::Variable)))); in TEST()
111 WithKind(SymbolKind::Field)))); in TEST()
214 AllOf(QName("Foo"), WithKind(SymbolKind::Class)), in TEST()
215 AllOf(QName("foo"), WithKind(SymbolKind::Function)), in TEST()
216 AllOf(QName("ns"), WithKind(SymbolKind::Namespace)))); in TEST()
297 AllOf(QName("foo"), WithKind(SymbolKind::Variable)), in TEST()
[all …]
DHoverTests.cpp44 HI.Kind = index::SymbolKind::Function; in TEST()
61 HI.Kind = index::SymbolKind::Function; in TEST()
80 HI.Kind = index::SymbolKind::Field; in TEST()
101 HI.Kind = index::SymbolKind::Variable; in TEST()
117 HI.Kind = index::SymbolKind::Field; in TEST()
131 HI.Kind = index::SymbolKind::Struct; in TEST()
143 HI.Kind = index::SymbolKind::Variable; in TEST()
155 HI.Kind = index::SymbolKind::Class; in TEST()
171 HI.Kind = index::SymbolKind::Class; in TEST()
201 HI.Kind = index::SymbolKind::Function; in TEST()
[all …]
DTypeHierarchyTests.cpp374 WithName("Child"), WithKind(SymbolKind::Struct), in TEST()
375 Parents(AllOf(WithName("Parent1"), WithKind(SymbolKind::Struct), in TEST()
378 AllOf(WithName("Parent3"), WithKind(SymbolKind::Struct), in TEST()
381 WithName("Parent2"), WithKind(SymbolKind::Struct), in TEST()
412 AllOf(WithName("S<0>"), WithKind(SymbolKind::Struct), in TEST()
414 AllOf(WithName("S"), WithKind(SymbolKind::Struct), in TEST()
416 Parents(AllOf(WithName("S"), WithKind(SymbolKind::Struct), in TEST()
446 AllOf(WithName("S<2>"), WithKind(SymbolKind::Struct), in TEST()
448 WithName("S<1>"), WithKind(SymbolKind::Struct), in TEST()
450 Parents(AllOf(WithName("S<0>"), WithKind(SymbolKind::Struct), in TEST()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DSymbolRecordHelpers.cpp26 case SymbolKind::S_GPROC32: in getScopeEndOffset()
27 case SymbolKind::S_LPROC32: in getScopeEndOffset()
28 case SymbolKind::S_GPROC32_ID: in getScopeEndOffset()
29 case SymbolKind::S_LPROC32_ID: in getScopeEndOffset()
30 case SymbolKind::S_LPROC32_DPC: in getScopeEndOffset()
31 case SymbolKind::S_LPROC32_DPC_ID: { in getScopeEndOffset()
35 case SymbolKind::S_BLOCK32: { in getScopeEndOffset()
39 case SymbolKind::S_THUNK32: { in getScopeEndOffset()
43 case SymbolKind::S_INLINESITE: { in getScopeEndOffset()
57 case SymbolKind::S_GPROC32: in getScopeParentOffset()
[all …]
DTypeIndexDiscovery.cpp360 static bool discoverTypeIndices(ArrayRef<uint8_t> Content, SymbolKind Kind, in discoverTypeIndices()
367 case SymbolKind::S_GPROC32_ID: in discoverTypeIndices()
368 case SymbolKind::S_LPROC32_ID: in discoverTypeIndices()
369 case SymbolKind::S_LPROC32_DPC: in discoverTypeIndices()
370 case SymbolKind::S_LPROC32_DPC_ID: in discoverTypeIndices()
373 case SymbolKind::S_GPROC32: in discoverTypeIndices()
374 case SymbolKind::S_LPROC32: in discoverTypeIndices()
377 case SymbolKind::S_UDT: in discoverTypeIndices()
380 case SymbolKind::S_GDATA32: in discoverTypeIndices()
381 case SymbolKind::S_LDATA32: in discoverTypeIndices()
[all …]
DRecordName.cpp264 case SymbolKind::S_GPROC32: in getSymbolNameOffset()
265 case SymbolKind::S_LPROC32: in getSymbolNameOffset()
266 case SymbolKind::S_GPROC32_ID: in getSymbolNameOffset()
267 case SymbolKind::S_LPROC32_ID: in getSymbolNameOffset()
268 case SymbolKind::S_LPROC32_DPC: in getSymbolNameOffset()
269 case SymbolKind::S_LPROC32_DPC_ID: in getSymbolNameOffset()
272 case SymbolKind::S_THUNK32: in getSymbolNameOffset()
275 case SymbolKind::S_SECTION: in getSymbolNameOffset()
278 case SymbolKind::S_COFFGROUP: in getSymbolNameOffset()
281 case SymbolKind::S_PUB32: in getSymbolNameOffset()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSymbolRecordHelpers.cpp26 case SymbolKind::S_GPROC32: in getScopeEndOffset()
27 case SymbolKind::S_LPROC32: in getScopeEndOffset()
28 case SymbolKind::S_GPROC32_ID: in getScopeEndOffset()
29 case SymbolKind::S_LPROC32_ID: in getScopeEndOffset()
30 case SymbolKind::S_LPROC32_DPC: in getScopeEndOffset()
31 case SymbolKind::S_LPROC32_DPC_ID: { in getScopeEndOffset()
35 case SymbolKind::S_BLOCK32: { in getScopeEndOffset()
39 case SymbolKind::S_THUNK32: { in getScopeEndOffset()
43 case SymbolKind::S_INLINESITE: { in getScopeEndOffset()
57 case SymbolKind::S_GPROC32: in getScopeParentOffset()
[all …]
DTypeIndexDiscovery.cpp359 static bool discoverTypeIndices(ArrayRef<uint8_t> Content, SymbolKind Kind, in discoverTypeIndices()
366 case SymbolKind::S_GPROC32_ID: in discoverTypeIndices()
367 case SymbolKind::S_LPROC32_ID: in discoverTypeIndices()
368 case SymbolKind::S_LPROC32_DPC: in discoverTypeIndices()
369 case SymbolKind::S_LPROC32_DPC_ID: in discoverTypeIndices()
372 case SymbolKind::S_GPROC32: in discoverTypeIndices()
373 case SymbolKind::S_LPROC32: in discoverTypeIndices()
376 case SymbolKind::S_UDT: in discoverTypeIndices()
379 case SymbolKind::S_GDATA32: in discoverTypeIndices()
380 case SymbolKind::S_LDATA32: in discoverTypeIndices()
[all …]
DRecordName.cpp262 case SymbolKind::S_GPROC32: in getSymbolNameOffset()
263 case SymbolKind::S_LPROC32: in getSymbolNameOffset()
264 case SymbolKind::S_GPROC32_ID: in getSymbolNameOffset()
265 case SymbolKind::S_LPROC32_ID: in getSymbolNameOffset()
266 case SymbolKind::S_LPROC32_DPC: in getSymbolNameOffset()
267 case SymbolKind::S_LPROC32_DPC_ID: in getSymbolNameOffset()
270 case SymbolKind::S_THUNK32: in getSymbolNameOffset()
273 case SymbolKind::S_SECTION: in getSymbolNameOffset()
276 case SymbolKind::S_COFFGROUP: in getSymbolNameOffset()
279 case SymbolKind::S_PUB32: in getSymbolNameOffset()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DSymbolDumper.cpp38 void visit##Name(SymbolKind Kind, Name &Record);
42 void visitSymbolBegin(SymbolKind Kind, ArrayRef<uint8_t> Data);
43 void visitSymbolEnd(SymbolKind Kind, ArrayRef<uint8_t> OriginalSymData);
44 void visitUnknownSymbol(SymbolKind Kind, ArrayRef<uint8_t> Data);
79 void CVSymbolDumperImpl::visitSymbolBegin(SymbolKind Kind, in visitSymbolBegin()
82 void CVSymbolDumperImpl::visitSymbolEnd(SymbolKind Kind, in visitSymbolEnd()
88 void CVSymbolDumperImpl::visitBlockSym(SymbolKind Kind, BlockSym &Block) { in visitBlockSym()
104 void CVSymbolDumperImpl::visitThunk32Sym(SymbolKind Kind, Thunk32Sym &Thunk) { in visitThunk32Sym()
115 void CVSymbolDumperImpl::visitTrampolineSym(SymbolKind Kind, in visitTrampolineSym()
126 void CVSymbolDumperImpl::visitSectionSym(SymbolKind Kind, SectionSym &Section) { in visitSectionSym()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DQuality.cpp121 case index::SymbolKind::Namespace: in categorize()
122 case index::SymbolKind::NamespaceAlias: in categorize()
124 case index::SymbolKind::Macro: in categorize()
126 case index::SymbolKind::Enum: in categorize()
127 case index::SymbolKind::Struct: in categorize()
128 case index::SymbolKind::Class: in categorize()
129 case index::SymbolKind::Protocol: in categorize()
130 case index::SymbolKind::Extension: in categorize()
131 case index::SymbolKind::Union: in categorize()
132 case index::SymbolKind::TypeAlias: in categorize()
[all …]
DProtocol.cpp195 bool fromJSON(const llvm::json::Value &E, SymbolKind &Out, llvm::json::Path P) { in fromJSON()
197 if (*T < static_cast<int>(SymbolKind::File) || in fromJSON()
198 *T > static_cast<int>(SymbolKind::TypeParameter)) in fromJSON()
200 Out = static_cast<SymbolKind>(*T); in fromJSON()
210 SymbolKind KindOut; in fromJSON()
219 SymbolKind adjustKindToCapability(SymbolKind Kind, in adjustKindToCapability()
228 case SymbolKind::Struct: in adjustKindToCapability()
229 return SymbolKind::Class; in adjustKindToCapability()
230 case SymbolKind::EnumMember: in adjustKindToCapability()
231 return SymbolKind::Enum; in adjustKindToCapability()
[all …]
/external/llvm-project/llvm/unittests/TextAPI/
DTextStubV1Tests.cpp21 {SymbolKind::GlobalSymbol, "$ld$hide$os9.0$_sym1", false, false},
22 {SymbolKind::GlobalSymbol, "_sym1", false, false},
23 {SymbolKind::GlobalSymbol, "_sym2", false, false},
24 {SymbolKind::GlobalSymbol, "_sym3", false, false},
25 {SymbolKind::GlobalSymbol, "_sym4", false, false},
26 {SymbolKind::GlobalSymbol, "_sym5", false, false},
27 {SymbolKind::GlobalSymbol, "_tlv1", false, true},
28 {SymbolKind::GlobalSymbol, "_tlv2", false, true},
29 {SymbolKind::GlobalSymbol, "_tlv3", false, true},
30 {SymbolKind::GlobalSymbol, "_weak1", true, false},
[all …]
DTextStubV2Tests.cpp20 {SymbolKind::GlobalSymbol, "$ld$hide$os9.0$_sym1", false, false},
21 {SymbolKind::GlobalSymbol, "_sym1", false, false},
22 {SymbolKind::GlobalSymbol, "_sym2", false, false},
23 {SymbolKind::GlobalSymbol, "_sym3", false, false},
24 {SymbolKind::GlobalSymbol, "_sym4", false, false},
25 {SymbolKind::GlobalSymbol, "_sym5", false, false},
26 {SymbolKind::GlobalSymbol, "_tlv1", false, true},
27 {SymbolKind::GlobalSymbol, "_tlv2", false, true},
28 {SymbolKind::GlobalSymbol, "_tlv3", false, true},
29 {SymbolKind::GlobalSymbol, "_weak1", true, false},
[all …]
DTextStubV3Tests.cpp20 {SymbolKind::GlobalSymbol, "$ld$hide$os9.0$_sym1", false, false},
21 {SymbolKind::GlobalSymbol, "_sym1", false, false},
22 {SymbolKind::GlobalSymbol, "_sym2", false, false},
23 {SymbolKind::GlobalSymbol, "_sym3", false, false},
24 {SymbolKind::GlobalSymbol, "_sym4", false, false},
25 {SymbolKind::GlobalSymbol, "_sym5", false, false},
26 {SymbolKind::GlobalSymbol, "_tlv1", false, true},
27 {SymbolKind::GlobalSymbol, "_tlv3", false, true},
28 {SymbolKind::GlobalSymbol, "_weak1", true, false},
29 {SymbolKind::GlobalSymbol, "_weak2", true, false},
[all …]
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DSymbolInfo.cpp21 using SymbolKind = clang::find_all_symbols::SymbolInfo::SymbolKind; typedef
47 template <> struct ScalarEnumerationTraits<SymbolKind> {
48 static void enumeration(IO &io, SymbolKind &value) { in enumeration()
49 io.enumCase(value, "Variable", SymbolKind::Variable); in enumeration()
50 io.enumCase(value, "Function", SymbolKind::Function); in enumeration()
51 io.enumCase(value, "Class", SymbolKind::Class); in enumeration()
52 io.enumCase(value, "TypedefName", SymbolKind::TypedefName); in enumeration()
53 io.enumCase(value, "EnumDecl", SymbolKind::EnumDecl); in enumeration()
54 io.enumCase(value, "EnumConstantDecl", SymbolKind::EnumConstantDecl); in enumeration()
55 io.enumCase(value, "Macro", SymbolKind::Macro); in enumeration()
[all …]
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/
DFindAllSymbolsTests.cpp85 SymbolInfo InternalSymbol("Internal", SymbolInfo::SymbolKind::Class, in runFindAllSymbols()
87 SymbolInfo IncSymbol("IncHeaderClass", SymbolInfo::SymbolKind::Class, in runFindAllSymbols()
119 SymbolInfo DirtyMacro("INTERNAL", SymbolInfo::SymbolKind::Macro, in runFindAllSymbols()
121 SymbolInfo DirtySymbol("ExtraInternal", SymbolInfo::SymbolKind::Class, in runFindAllSymbols()
155 SymbolInfo("xargc", SymbolInfo::SymbolKind::Variable, HeaderName, {}); in TEST_F()
159 Symbol = SymbolInfo("SSSS", SymbolInfo::SymbolKind::Variable, HeaderName, in TEST_F()
164 Symbol = SymbolInfo("XXXX", SymbolInfo::SymbolKind::Variable, HeaderName, in TEST_F()
188 SymbolInfo("C_Func", SymbolInfo::SymbolKind::Function, HeaderName, {}); in TEST_F()
193 SymbolInfo("C_struct", SymbolInfo::SymbolKind::Class, HeaderName, {}); in TEST_F()
219 SymbolInfo("Glob", SymbolInfo::SymbolKind::Class, HeaderName, {}); in TEST_F()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/protocol/
Dtsprotocol.go2125 SymbolKind *struct { member
2137 ValueSet []SymbolKind `json:"valueSet,omitempty"`
2274 SymbolKind *struct { member
2286 ValueSet []SymbolKind `json:"valueSet,omitempty"`
3570 Kind SymbolKind `json:"kind"`
3621 Kind SymbolKind `json:"kind"`
4011 type SymbolKind float64 type
4344 File SymbolKind = 1
4347 Module SymbolKind = 2
4350 Namespace SymbolKind = 3
[all …]
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsprotocol.go2125 SymbolKind *struct { member
2137 ValueSet []SymbolKind `json:"valueSet,omitempty"`
2274 SymbolKind *struct { member
2286 ValueSet []SymbolKind `json:"valueSet,omitempty"`
3570 Kind SymbolKind `json:"kind"`
3621 Kind SymbolKind `json:"kind"`
4011 type SymbolKind float64 type
4344 File SymbolKind = 1
4347 Module SymbolKind = 2
4350 Namespace SymbolKind = 3
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsprotocol.go2125 SymbolKind *struct { member
2137 ValueSet []SymbolKind `json:"valueSet,omitempty"`
2274 SymbolKind *struct { member
2286 ValueSet []SymbolKind `json:"valueSet,omitempty"`
3570 Kind SymbolKind `json:"kind"`
3621 Kind SymbolKind `json:"kind"`
4011 type SymbolKind float64 type
4344 File SymbolKind = 1
4347 Module SymbolKind = 2
4350 Namespace SymbolKind = 3
[all …]
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/
DIncludeFixerTest.cpp57 {SymbolInfo("string", SymbolInfo::SymbolKind::Class, "<string>", in runIncludeFixer()
60 {SymbolInfo("sting", SymbolInfo::SymbolKind::Class, "\"sting\"", in runIncludeFixer()
63 {SymbolInfo("foo", SymbolInfo::SymbolKind::Class, in runIncludeFixer()
68 {SymbolInfo("bar", SymbolInfo::SymbolKind::Class, "\"bar.h\"", in runIncludeFixer()
72 {SymbolInfo("bar", SymbolInfo::SymbolKind::Class, "\"bar2.h\"", in runIncludeFixer()
76 {SymbolInfo("Green", SymbolInfo::SymbolKind::Class, "\"color.h\"", in runIncludeFixer()
81 {SymbolInfo("Vector", SymbolInfo::SymbolKind::Class, "\"Vector.h\"", in runIncludeFixer()
85 {SymbolInfo("Vector", SymbolInfo::SymbolKind::Class, "\"Vector.h\"", in runIncludeFixer()
88 {SymbolInfo("StrCat", SymbolInfo::SymbolKind::Class, "\"strcat.h\"", in runIncludeFixer()
91 {SymbolInfo("str", SymbolInfo::SymbolKind::Class, "\"str.h\"", {}), in runIncludeFixer()
[all …]

123456