/external/llvm-project/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 53 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() 126 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCInterfaceTypeLoc() 132 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCObjectTypeLoc() 147 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 150 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 196 ParentDC, SymbolRoleSet(), Relations); in VisitInjectedClassNameTypeLoc() [all …]
|
D | IndexDecl.cpp | 163 SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic; in handleObjCMethod() 168 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleObjCMethod() 232 SymbolRoleSet(SymbolRole::RelationSpecializationOf), ND); in gatherTemplatePseudoOverrides() 238 SymbolRoleSet Roles{}; in VisitFunctionDecl() 250 SymbolRelation(SymbolRoleSet(SymbolRole::RelationSpecializationOf), in VisitFunctionDecl() 302 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations)); in VisitVarDecl() 317 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations)); in VisitFieldDecl() 352 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations)); in VisitTypedefNameDecl() 368 return IndexCtx.handleDecl(D, D->getLocation(), SymbolRoleSet(), in VisitTagDecl() 383 SymbolRoleSet roles{}; in handleReferencedProtocols() [all …]
|
D | IndexingContext.h | 70 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), 74 SymbolRoleSet Roles = SymbolRoleSet(), 81 SymbolRoleSet Roles = SymbolRoleSet(), 129 SymbolRoleSet Roles,
|
D | IndexBody.cpp | 57 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() 204 ParentDC, SymbolRoleSet(), {}, E); in VisitDesignatedInitExpr() 211 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr() 229 SymbolRoleSet Roles{}; in VisitObjCMessageExpr() 294 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCPropertyRefExpr() [all …]
|
D | IndexingContext.cpp | 53 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() 460 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined() 467 SymbolRoleSet Roles = (unsigned)SymbolRole::Undefinition; in handleMacroUndefined() [all …]
|
D | FileIndexRecord.h | 49 void addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, const Decl *D,
|
D | FileIndexRecord.cpp | 20 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence()
|
D | IndexSymbol.cpp | 407 bool index::applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles, in applyForEachSymbolRoleInterruptible() 441 void index::applyForEachSymbolRole(SymbolRoleSet Roles, in applyForEachSymbolRole() 449 void index::printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS) { in printSymbolRoles()
|
/external/clang/lib/Index/ |
D | IndexBody.cpp | 53 SymbolRoleSet getRolesForRef(const Expr *E, in getRolesForRef() 55 SymbolRoleSet Roles{}; in getRolesForRef() 123 void addCallRole(SymbolRoleSet &Roles, in addCallRole() 134 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitDeclRefExpr() 144 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitMemberExpr() 153 ParentDC, SymbolRoleSet(), {}, E); in VisitDesignatedInitExpr() 160 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr() 178 SymbolRoleSet Roles{}; in VisitObjCMessageExpr() 199 Parent, ParentDC, SymbolRoleSet(), {}, E); in VisitObjCPropertyRefExpr() 208 Parent, ParentDC, SymbolRoleSet(), {}, E); in VisitMSPropertyRefExpr() [all …]
|
D | IndexTypeSourceInfo.cpp | 41 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc() 90 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc() 96 Parent, ParentDC, SymbolRoleSet()); in VisitObjCInterfaceTypeLoc() 102 Parent, ParentDC, SymbolRoleSet()); in VisitObjCObjectTypeLoc() 112 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitTemplateSpecializationTypeLoc() 116 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitTemplateSpecializationTypeLoc() 173 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc() 177 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc()
|
D | IndexingContext.h | 64 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), 68 SymbolRoleSet Roles = SymbolRoleSet(), 75 SymbolRoleSet Roles, 111 SymbolRoleSet Roles,
|
D | IndexDecl.cpp | 98 SymbolRoleSet Roles{}; in VisitFunctionDecl() 199 SymbolRoleSet()); in VisitTagDecl() 213 SymbolRoleSet(), in handleReferencedProtocols() 224 SymbolRoleSet(), in VisitObjCInterfaceDecl() 231 D->getDeclContext(), SymbolRoleSet()); in VisitObjCInterfaceDecl() 243 D->getDeclContext(), SymbolRoleSet()); in VisitObjCProtocolDecl() 316 D->getDeclContext(), SymbolRoleSet(), {}, in VisitObjCPropertyImplDecl() 327 D->getDeclContext(), SymbolRoleSet()); in VisitObjCPropertyImplDecl() 334 IndexCtx.handleDecl(MD, D->getLocation(), SymbolRoleSet(), {}, ImplD); in VisitObjCPropertyImplDecl() 339 IndexCtx.handleDecl(MD, D->getLocation(), SymbolRoleSet(), {}, ImplD); in VisitObjCPropertyImplDecl() [all …]
|
D | IndexingContext.cpp | 25 SymbolRoleSet Roles, in handleDecl() 33 SymbolRoleSet Roles, in handleDecl() 46 SymbolRoleSet Roles, in handleReference() 93 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; in importedModule() 232 SymbolRoleSet Roles, in handleDeclOccurrence()
|
D | IndexingAction.cpp | 22 bool IndexDataConsumer::handleDeclOccurence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurence() 30 const MacroInfo *MI, SymbolRoleSet Roles, in handleMacroOccurence() 36 SymbolRoleSet Roles, in handleModuleOccurence()
|
D | IndexSymbol.cpp | 245 void index::applyForEachSymbolRole(SymbolRoleSet Roles, in applyForEachSymbolRole() 269 void index::printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS) { in printSymbolRoles()
|
/external/llvm-project/clang/include/clang/Index/ |
D | IndexSymbol.h | 130 typedef unsigned SymbolRoleSet; typedef 134 SymbolRoleSet Roles; 137 SymbolRelation(SymbolRoleSet Roles, const Decl *Sym) in SymbolRelation() 154 void applyForEachSymbolRole(SymbolRoleSet Roles, 156 bool applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles, 158 void printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS);
|
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()
|
D | DeclOccurrence.h | 23 SymbolRoleSet Roles; 28 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const Decl *D, in DeclOccurrence()
|
/external/clang/include/clang/Index/ |
D | IndexSymbol.h | 93 typedef unsigned SymbolRoleSet; typedef 97 SymbolRoleSet Roles; 100 SymbolRelation(SymbolRoleSet Roles, const Decl *Sym) in SymbolRelation() 112 void applyForEachSymbolRole(SymbolRoleSet Roles, 114 void printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS);
|
D | IndexDataConsumer.h | 40 virtual bool handleDeclOccurence(const Decl *D, SymbolRoleSet Roles, 47 const MacroInfo *MI, SymbolRoleSet Roles, 52 SymbolRoleSet Roles,
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolCollector.h | 105 handleDeclOccurrence(const Decl *D, index::SymbolRoleSet Roles, 111 index::SymbolRoleSet Roles, 161 index::SymbolRoleSet Roles;
|
D | SymbolCollector.cpp | 166 bool isPreferredDeclaration(const NamedDecl &ND, index::SymbolRoleSet Roles) { in isPreferredDeclaration() 178 RefKind toRefKind(index::SymbolRoleSet Roles, bool Spelled = false) { in toRefKind() 257 const Decl *D, index::SymbolRoleSet Roles, in handleDeclOccurrence() 405 index::SymbolRoleSet Roles, in handleMacroOccurrence()
|
/external/llvm-project/clang/tools/c-index-test/ |
D | core_main.cpp | 97 bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence() 136 const clang::Module *Mod, SymbolRoleSet Roles, in handleModuleOccurrence() 160 SymbolRoleSet Roles, SourceLocation Loc) override { in handleMacroOccurrence()
|
/external/clang/tools/c-index-test/ |
D | core_main.cpp | 74 bool handleDeclOccurence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurence() 111 bool handleModuleOccurence(const ImportDecl *ImportD, SymbolRoleSet Roles, in handleModuleOccurence()
|
/external/llvm-project/clang/unittests/Index/ |
D | IndexTests.cpp | 61 SymbolRoleSet Roles; 77 bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence() 95 SymbolRoleSet Roles, SourceLocation Loc) override { in handleMacroOccurrence()
|