Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/Index/
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()
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 …]
DIndexDecl.cpp163 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 …]
DIndexingContext.h70 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(),
74 SymbolRoleSet Roles = SymbolRoleSet(),
81 SymbolRoleSet Roles = SymbolRoleSet(),
129 SymbolRoleSet Roles,
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()
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 …]
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()
460 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined()
467 SymbolRoleSet Roles = (unsigned)SymbolRole::Undefinition; in handleMacroUndefined()
[all …]
DFileIndexRecord.h49 void addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, const Decl *D,
DFileIndexRecord.cpp20 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence()
DIndexSymbol.cpp407 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/
DIndexBody.cpp53 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 …]
DIndexTypeSourceInfo.cpp41 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()
DIndexingContext.h64 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(),
68 SymbolRoleSet Roles = SymbolRoleSet(),
75 SymbolRoleSet Roles,
111 SymbolRoleSet Roles,
DIndexDecl.cpp98 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 …]
DIndexingContext.cpp25 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()
DIndexingAction.cpp22 bool IndexDataConsumer::handleDeclOccurence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurence()
30 const MacroInfo *MI, SymbolRoleSet Roles, in handleMacroOccurence()
36 SymbolRoleSet Roles, in handleModuleOccurence()
DIndexSymbol.cpp245 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/
DIndexSymbol.h130 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);
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()
DDeclOccurrence.h23 SymbolRoleSet Roles;
28 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const Decl *D, in DeclOccurrence()
/external/clang/include/clang/Index/
DIndexSymbol.h93 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);
DIndexDataConsumer.h40 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/
DSymbolCollector.h105 handleDeclOccurrence(const Decl *D, index::SymbolRoleSet Roles,
111 index::SymbolRoleSet Roles,
161 index::SymbolRoleSet Roles;
DSymbolCollector.cpp166 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/
Dcore_main.cpp97 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/
Dcore_main.cpp74 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/
DIndexTests.cpp61 SymbolRoleSet Roles;
77 bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence()
95 SymbolRoleSet Roles, SourceLocation Loc) override { in handleMacroOccurrence()

12