Home
last modified time | relevance | path

Searched refs:SymbolRoleSet (Results 1 – 11 of 11) sorted by relevance

/src/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp56 SymbolRoleSet()); in VisitTemplateTypeParmTypeLoc()
65 ParentDC, SymbolRoleSet(), Relations); in VisitTypedefTypeLoc()
69 Parent, ParentDC, SymbolRoleSet())); in VisitTypedefTypeLoc()
77 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc()
130 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc()
136 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCInterfaceTypeLoc()
142 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCObjectTypeLoc()
157 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc()
160 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc()
206 ParentDC, SymbolRoleSet(), Relations); in VisitInjectedClassNameTypeLoc()
[all …]
H A DIndexDecl.cpp169 SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic; in handleObjCMethod()
174 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleObjCMethod()
238 SymbolRoleSet(SymbolRole::RelationSpecializationOf), ND); in gatherTemplatePseudoOverrides()
244 SymbolRoleSet Roles{}; in VisitFunctionDecl()
256 SymbolRelation(SymbolRoleSet(SymbolRole::RelationSpecializationOf), in VisitFunctionDecl()
308 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations)); in VisitVarDecl()
323 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations)); in VisitFieldDecl()
358 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations)); in VisitTypedefNameDecl()
374 return IndexCtx.handleDecl(D, D->getLocation(), SymbolRoleSet(), in VisitTagDecl()
398 SymbolRoleSet roles{}; in handleReferencedProtocols()
[all …]
H A DIndexBody.cpp61 SymbolRoleSet getRolesForRef(const Expr *E, in getRolesForRef()
63 SymbolRoleSet Roles{}; in getRolesForRef()
131 void addCallRole(SymbolRoleSet &Roles, in addCallRole()
142 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitDeclRefExpr()
163 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitMemberExpr()
195 SymbolRoleSet Roles = getRolesForRef(E, Relations); in indexDependentReference()
220 ParentDC, SymbolRoleSet(), {}, E); in VisitDesignatedInitExpr()
229 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr()
247 SymbolRoleSet Roles{}; in VisitObjCMessageExpr()
309 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCPropertyRefExpr()
[all …]
H A DIndexingContext.h70 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(),
74 SymbolRoleSet Roles = SymbolRoleSet(),
80 SymbolRoleSet Roles = SymbolRoleSet(),
129 SymbolRoleSet Roles,
H A DIndexingContext.cpp53 SymbolRoleSet Roles, in handleDecl()
59 SymbolRoleSet Roles, in handleDecl()
77 SymbolRoleSet Roles, in handleReference()
101 ImportD, Mod, (SymbolRoleSet)SymbolRole::Reference, IdLocs.back()); in reportModuleReferences()
141 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; in importedModule()
309 bool IsRef, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) { in shouldReportOccurrenceForSystemDeclOnlyMode()
313 auto acceptForRelation = [](SymbolRoleSet roles) -> bool { in shouldReportOccurrenceForSystemDeclOnlyMode()
357 SymbolRoleSet Roles, in handleDeclOccurrence()
457 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined()
466 SymbolRoleSet Roles = (unsigned)SymbolRole::Undefinition; in handleMacroUndefined()
[all …]
H A DFileIndexRecord.h48 void addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, const Decl *D,
57 void addMacroOccurence(SymbolRoleSet Roles, unsigned Offset,
H A DFileIndexRecord.cpp31 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence()
40 void FileIndexRecord::addMacroOccurence(SymbolRoleSet Roles, unsigned Offset, in addMacroOccurence()
H A DIndexSymbol.cpp415 bool index::applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles, in applyForEachSymbolRoleInterruptible()
449 void index::applyForEachSymbolRole(SymbolRoleSet Roles, in applyForEachSymbolRole()
457 void index::printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS) { in printSymbolRoles()
/src/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h133 typedef unsigned SymbolRoleSet; typedef
137 SymbolRoleSet Roles;
140 SymbolRelation(SymbolRoleSet Roles, const Decl *Sym) in SymbolRelation()
157 void applyForEachSymbolRole(SymbolRoleSet Roles,
159 bool applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles,
161 void printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS);
H A DDeclOccurrence.h24 SymbolRoleSet Roles;
30 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const Decl *D, in DeclOccurrence()
34 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const IdentifierInfo *Name, in DeclOccurrence()
H A DIndexDataConsumer.h42 virtual bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence()
50 const MacroInfo *MI, SymbolRoleSet Roles, in handleMacroOccurrence()
61 const Module *Mod, SymbolRoleSet Roles, in handleModuleOccurrence()