/external/clang/lib/Index/ |
H A D | IndexSymbol.cpp | 245 void index::applyForEachSymbolRole(SymbolRoleSet Roles, argument 248 if (Roles & (unsigned)SymbolRole::Role) \ 269 void index::printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS) { argument 271 applyForEachSymbolRole(Roles, [&](SymbolRole Role) {
|
H A D | IndexingAction.cpp | 22 bool IndexDataConsumer::handleDeclOccurence(const Decl *D, SymbolRoleSet Roles, argument 30 const MacroInfo *MI, SymbolRoleSet Roles, 36 SymbolRoleSet Roles, 29 handleMacroOccurence(const IdentifierInfo *Name, const MacroInfo *MI, SymbolRoleSet Roles, FileID FID, unsigned Offset) argument 35 handleModuleOccurence(const ImportDecl *ImportD, SymbolRoleSet Roles, FileID FID, unsigned Offset) argument
|
H A D | IndexingContext.cpp | 25 SymbolRoleSet Roles, 28 cast<Decl>(D->getDeclContext()), Roles, Relations, 33 SymbolRoleSet Roles, 39 Roles, Relations, 46 SymbolRoleSet Roles, 56 return handleDeclOccurrence(D, Loc, /*IsRef=*/true, Parent, Roles, Relations, 93 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; local 95 Roles |= (unsigned)SymbolRole::Implicit; 97 return DataConsumer.handleModuleOccurence(ImportD, Roles, FID, Offset); 232 SymbolRoleSet Roles, 24 handleDecl(const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) argument 32 handleDecl(const Decl *D, SourceLocation Loc, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const DeclContext *DC) argument 43 handleReference(const NamedDecl *D, SourceLocation Loc, const NamedDecl *Parent, const DeclContext *DC, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const Expr *RefE, const Decl *RefD) argument 230 handleDeclOccurrence(const Decl *D, SourceLocation Loc, bool IsRef, const Decl *Parent, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const Expr *OrigE, const Decl *OrigD, const DeclContext *ContainerDC) argument [all...] |
H A D | IndexBody.cpp | 55 SymbolRoleSet Roles{}; 58 return Roles; 63 Roles |= (unsigned)(unsigned)SymbolRole::Read; 73 Roles |= (unsigned)SymbolRole::Write; 77 Roles |= (unsigned)SymbolRole::Read; 78 Roles |= (unsigned)SymbolRole::Write; 80 Roles |= (unsigned)SymbolRole::AddressOf; 85 Roles |= (unsigned)SymbolRole::Read; 86 Roles |= (unsigned)SymbolRole::Write; 91 addCallRole(Roles, Relation 123 addCallRole(SymbolRoleSet &Roles, SmallVectorImpl<SymbolRelation> &Relations) argument 134 SymbolRoleSet Roles = getRolesForRef(E, Relations); local 144 SymbolRoleSet Roles = getRolesForRef(E, Relations); local 160 SymbolRoleSet Roles = getRolesForRef(E, Relations); local [all...] |
/external/clang/include/clang/Index/ |
H A D | IndexSymbol.h | 97 SymbolRoleSet Roles; member in struct:clang::index::SymbolRelation 100 SymbolRelation(SymbolRoleSet Roles, const Decl *Sym) argument 101 : Roles(Roles), RelatedSymbol(Sym) {} 112 void applyForEachSymbolRole(SymbolRoleSet Roles, 114 void printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS);
|
/external/clang/tools/libclang/ |
H A D | CXIndexDataConsumer.cpp | 154 SymbolRoleSet Roles, 161 if (Roles & (unsigned)SymbolRole::Reference) { 184 if (Roles & (unsigned)SymbolRole::Implicit) { 211 if (SymRel.Roles & (unsigned)SymbolRole::RelationChildOf) 222 SymbolRoleSet Roles, 153 handleDeclOccurence(const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, FileID FID, unsigned Offset, ASTNodeInfo ASTNode) argument 221 handleModuleOccurence(const ImportDecl *ImportD, SymbolRoleSet Roles, FileID FID, unsigned Offset) argument
|