| /netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | IndexingContext.h | 70 bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), 74 SymbolRoleSet Roles = SymbolRoleSet(), 81 SymbolRoleSet Roles = SymbolRoleSet(), 131 SymbolRoleSet Roles,
|
| H A 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() 462 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined() 471 SymbolRoleSet Roles = (unsigned)SymbolRole::Undefinition; in handleMacroUndefined() [all …]
|
| H A D | FileIndexRecord.h | 49 void addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, const Decl *D, 58 void addMacroOccurence(SymbolRoleSet Roles, unsigned Offset,
|
| H A D | FileIndexRecord.cpp | 39 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence() 47 void FileIndexRecord::addMacroOccurence(SymbolRoleSet Roles, unsigned Offset, in addMacroOccurence()
|
| H A 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Index/ |
| H A 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);
|
| 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 103 bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence() 142 const clang::Module *Mod, SymbolRoleSet Roles, in handleModuleOccurrence() 166 SymbolRoleSet Roles, SourceLocation Loc) override { in handleMacroOccurrence()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.h | 434 bool handleDeclOccurrence(const Decl *D, index::SymbolRoleSet Roles, 439 index::SymbolRoleSet Roles,
|
| H A D | CXIndexDataConsumer.cpp | 151 CXSymbolRole getSymbolRole(SymbolRoleSet Role) { in getSymbolRole() 158 const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, in handleDeclOccurrence() 225 SymbolRoleSet Roles, in handleModuleOccurrence() 227 if (Roles & (SymbolRoleSet)SymbolRole::Declaration) in handleModuleOccurrence()
|