Home
last modified time | relevance | path

Searched refs:SymbolRole (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Index/
DIndexBody.cpp63 Roles |= (unsigned)(unsigned)SymbolRole::Read; in getRolesForRef()
73 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
77 Roles |= (unsigned)SymbolRole::Read; in getRolesForRef()
78 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
80 Roles |= (unsigned)SymbolRole::AddressOf; in getRolesForRef()
85 Roles |= (unsigned)SymbolRole::Read; in getRolesForRef()
86 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
95 Roles |= (unsigned)SymbolRole::Dynamic; in getRolesForRef()
99 Relations.emplace_back((unsigned)SymbolRole::RelationReceivedBy, in getRolesForRef()
107 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
[all …]
DIndexSymbol.cpp246 llvm::function_ref<void(SymbolRole)> Fn) { in applyForEachSymbolRole()
248 if (Roles & (unsigned)SymbolRole::Role) \ in applyForEachSymbolRole()
249 Fn(SymbolRole::Role) in applyForEachSymbolRole()
271 applyForEachSymbolRole(Roles, [&](SymbolRole Role) { in printSymbolRoles()
277 case SymbolRole::Declaration: OS << "Decl"; break; in printSymbolRoles()
278 case SymbolRole::Definition: OS << "Def"; break; in printSymbolRoles()
279 case SymbolRole::Reference: OS << "Ref"; break; in printSymbolRoles()
280 case SymbolRole::Read: OS << "Read"; break; in printSymbolRoles()
281 case SymbolRole::Write: OS << "Writ"; break; in printSymbolRoles()
282 case SymbolRole::Call: OS << "Call"; break; in printSymbolRoles()
[all …]
DIndexDecl.cpp79 if (!IndexCtx.handleDecl(D, (unsigned)SymbolRole::Dynamic)) in handleObjCMethod()
102 Roles |= (unsigned)SymbolRole::Dynamic; in VisitFunctionDecl()
105 Relations.emplace_back((unsigned)SymbolRole::RelationOverrideOf, *I); in VisitFunctionDecl()
120 (unsigned)SymbolRole::Write); in VisitFunctionDecl()
163 (unsigned)SymbolRole::Implicit); in VisitObjCIvarDecl()
214 SymbolRelation{(unsigned)SymbolRole::RelationBaseOf, ContD})); in handleReferencedProtocols()
225 SymbolRelation{(unsigned)SymbolRole::RelationBaseOf, D})); in VisitObjCInterfaceDecl()
DIndexingContext.cpp93 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; in importedModule()
95 Roles |= (unsigned)SymbolRole::Implicit; in importedModule()
286 Roles |= (unsigned)SymbolRole::Reference; in handleDeclOccurrence()
288 Roles |= (unsigned)SymbolRole::Definition; in handleDeclOccurrence()
290 Roles |= (unsigned)SymbolRole::Declaration; in handleDeclOccurrence()
324 addRelation(SymbolRelation{(unsigned)SymbolRole::RelationChildOf, Parent}); in handleDeclOccurrence()
DIndexTypeSourceInfo.cpp33 Relations.emplace_back((unsigned)SymbolRole::RelationBaseOf, Parent); in TypeIndexer()
/external/clang/include/clang/Index/
DIndexSymbol.h74 enum class SymbolRole : uint16_t { enum
113 llvm::function_ref<void(SymbolRole)> Fn);
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp161 if (Roles & (unsigned)SymbolRole::Reference) { in handleDeclOccurence()
184 if (Roles & (unsigned)SymbolRole::Implicit) { in handleDeclOccurence()
211 if (SymRel.Roles & (unsigned)SymbolRole::RelationChildOf) in handleDeclOccurence()