| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 57 SymbolRoleSet()); in VisitTemplateTypeParmTypeLoc() 66 ParentDC, SymbolRoleSet(), Relations); in VisitTypedefTypeLoc() 70 Parent, ParentDC, SymbolRoleSet())); in VisitTypedefTypeLoc() 78 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc() 131 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc() 137 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCInterfaceTypeLoc() 143 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCObjectTypeLoc() 158 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 161 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 207 ParentDC, SymbolRoleSet(), Relations); in VisitInjectedClassNameTypeLoc() [all …]
|
| H A D | IndexDecl.cpp | 169 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 D | IndexBody.cpp | 62 SymbolRoleSet getRolesForRef(const Expr *E, in getRolesForRef() 64 SymbolRoleSet Roles{}; in getRolesForRef() 132 void addCallRole(SymbolRoleSet &Roles, in addCallRole() 146 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitDeclRefExpr() 181 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitMemberExpr() 194 SymbolRoleSet Roles = getRolesForRef(E, Relations); in indexDependentReference() 218 ParentDC, SymbolRoleSet(), {}, E); in VisitDesignatedInitExpr() 227 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr() 245 SymbolRoleSet Roles{}; in VisitObjCMessageExpr() 307 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCPropertyRefExpr() [all …]
|
| H A D | IndexingContext.h | 77 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), 81 SymbolRoleSet Roles = SymbolRoleSet(), 87 SymbolRoleSet Roles = SymbolRoleSet(), 135 SymbolRoleSet Roles,
|
| H A D | IndexingContext.cpp | 65 SymbolRoleSet Roles, in handleDecl() 71 SymbolRoleSet Roles, in handleDecl() 89 SymbolRoleSet Roles, in handleReference() 113 ImportD, Mod, (SymbolRoleSet)SymbolRole::Reference, IdLocs.back()); in reportModuleReferences() 153 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; in importedModule() 321 bool IsRef, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) { in shouldReportOccurrenceForSystemDeclOnlyMode() 325 auto acceptForRelation = [](SymbolRoleSet roles) -> bool { in shouldReportOccurrenceForSystemDeclOnlyMode() 369 SymbolRoleSet Roles, in handleDeclOccurrence() 469 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined() 478 SymbolRoleSet Roles = (unsigned)SymbolRole::Undefinition; in handleMacroUndefined() [all …]
|
| H A D | FileIndexRecord.h | 48 void addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, const Decl *D, 57 void addMacroOccurence(SymbolRoleSet Roles, unsigned Offset,
|
| H A D | FileIndexRecord.cpp | 29 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence() 38 void FileIndexRecord::addMacroOccurence(SymbolRoleSet Roles, unsigned Offset, in addMacroOccurence()
|
| H A D | IndexSymbol.cpp | 415 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()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Index/ |
| H A D | IndexSymbol.h | 133 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 D | DeclOccurrence.h | 24 SymbolRoleSet Roles; 30 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const Decl *D, in DeclOccurrence() 33 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const IdentifierInfo *Name, in DeclOccurrence()
|
| H A D | IndexDataConsumer.h | 42 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()
|