| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 56 SymbolRoleSet()); in VisitTemplateTypeParmTypeLoc() 65 ParentDC, SymbolRoleSet(), Relations); in VisitTypedefTypeLoc() 69 Parent, ParentDC, SymbolRoleSet())); in VisitTypedefTypeLoc() 77 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc() 130 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc() 136 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCInterfaceTypeLoc() 142 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCObjectTypeLoc() 157 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 160 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 206 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 | 61 SymbolRoleSet getRolesForRef(const Expr *E, in getRolesForRef() 63 SymbolRoleSet Roles{}; in getRolesForRef() 131 void addCallRole(SymbolRoleSet &Roles, in addCallRole() 142 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitDeclRefExpr() 152 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitMemberExpr() 184 SymbolRoleSet Roles = getRolesForRef(E, Relations); in indexDependentReference() 208 ParentDC, SymbolRoleSet(), {}, E); in VisitDesignatedInitExpr() 215 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr() 233 SymbolRoleSet Roles{}; in VisitObjCMessageExpr() 295 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCPropertyRefExpr() [all …]
|
| H A D | IndexingContext.h | 70 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), 74 SymbolRoleSet Roles = SymbolRoleSet(), 80 SymbolRoleSet Roles = SymbolRoleSet(), 129 SymbolRoleSet Roles,
|
| H A D | IndexingContext.cpp | 53 SymbolRoleSet Roles, in handleDecl() 59 SymbolRoleSet Roles, in handleDecl() 77 SymbolRoleSet Roles, in handleReference() 102 ImportD, Mod, (SymbolRoleSet)SymbolRole::Reference, IdLocs.back()); in reportModuleReferences() 142 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; in importedModule() 310 bool IsRef, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) { in shouldReportOccurrenceForSystemDeclOnlyMode() 314 auto acceptForRelation = [](SymbolRoleSet roles) -> bool { in shouldReportOccurrenceForSystemDeclOnlyMode() 358 SymbolRoleSet Roles, in handleDeclOccurrence() 458 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined() 467 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 | 31 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence() 40 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()
|
| /openbsd-src/gnu/llvm/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() 34 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()
|
| /openbsd-src/gnu/llvm/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 104 bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence() 143 const clang::Module *Mod, SymbolRoleSet Roles, in handleModuleOccurrence() 167 SymbolRoleSet Roles, SourceLocation Loc) override { in handleMacroOccurrence()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.h | 435 bool handleDeclOccurrence(const Decl *D, index::SymbolRoleSet Roles, 440 index::SymbolRoleSet Roles,
|
| H A D | CXIndexDataConsumer.cpp | 156 CXSymbolRole getSymbolRole(SymbolRoleSet Role) { in getSymbolRole() 163 const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, in handleDeclOccurrence() 230 SymbolRoleSet Roles, in handleModuleOccurrence() 232 if (Roles & (SymbolRoleSet)SymbolRole::Declaration) in handleModuleOccurrence()
|