Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp53 SymbolRoleSet()); in VisitTemplateTypeParmTypeLoc()
62 ParentDC, SymbolRoleSet(), Relations); in VisitTypedefTypeLoc()
66 Parent, ParentDC, SymbolRoleSet())); in VisitTypedefTypeLoc()
74 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc()
120 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc()
147 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc()
150 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc()
196 ParentDC, SymbolRoleSet(), Relations); in VisitInjectedClassNameTypeLoc()
280 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc()
284 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc()
[all …]
H A DIndexDecl.cpp163 SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic; in handleObjCMethod()
168 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleObjCMethod()
238 SymbolRoleSet Roles{}; in VisitFunctionDecl()
383 SymbolRoleSet roles{}; in handleReferencedProtocols()
385 roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleReferencedProtocols()
407 SymbolRoleSet superRoles{}; in VisitObjCInterfaceDecl()
527 SymbolRoleSet Roles = 0; in VisitObjCPropertyImplDecl()
534 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in VisitObjCPropertyImplDecl()
542 SymbolRoleSet AccessorMethodRoles = in VisitObjCPropertyImplDecl()
543 SymbolRoleSet(SymbolRole::Dynamic) | SymbolRoleSet(SymbolRole::Implicit); in VisitObjCPropertyImplDecl()
[all …]
H A DIndexBody.cpp57 SymbolRoleSet getRolesForRef(const Expr *E, in getRolesForRef()
59 SymbolRoleSet Roles{}; in getRolesForRef()
127 void addCallRole(SymbolRoleSet &Roles, in addCallRole()
138 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitDeclRefExpr()
148 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitMemberExpr()
180 SymbolRoleSet Roles = getRolesForRef(E, Relations); in indexDependentReference()
211 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr()
229 SymbolRoleSet Roles{}; in VisitObjCMessageExpr()
324 SymbolRoleSet Roles{}; in passObjCLiteralMethodCall()
354 SymbolRoleSet Roles{}; in VisitCXXConstructExpr()
[all …]
H A DIndexingContext.h70 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(),
74 SymbolRoleSet Roles = SymbolRoleSet(),
81 SymbolRoleSet Roles = SymbolRoleSet(),
131 SymbolRoleSet Roles,
H A DIndexingContext.cpp53 SymbolRoleSet Roles, in handleDecl()
59 SymbolRoleSet Roles, in handleDecl()
77 SymbolRoleSet Roles, in handleReference()
103 ImportD, Mod, (SymbolRoleSet)SymbolRole::Reference, IdLocs.back()); in reportModuleReferences()
143 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; in importedModule()
314 bool IsRef, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) { in shouldReportOccurrenceForSystemDeclOnlyMode()
318 auto acceptForRelation = [](SymbolRoleSet roles) -> bool { in shouldReportOccurrenceForSystemDeclOnlyMode()
362 SymbolRoleSet Roles, in handleDeclOccurrence()
462 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined()
471 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.cpp32 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence()
41 void FileIndexRecord::addMacroOccurence(SymbolRoleSet Roles, unsigned Offset, in addMacroOccurence()
H A DIndexSymbol.cpp412 bool index::applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles, in applyForEachSymbolRoleInterruptible()
446 void index::applyForEachSymbolRole(SymbolRoleSet Roles, in applyForEachSymbolRole()
454 void index::printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS) { in printSymbolRoles()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h131 typedef unsigned SymbolRoleSet; typedef
135 SymbolRoleSet Roles;
138 SymbolRelation(SymbolRoleSet Roles, const Decl *Sym) in SymbolRelation()
155 void applyForEachSymbolRole(SymbolRoleSet Roles,
157 bool applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles,
159 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()