| /llvm-project-15.0.7/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() 157 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 160 SymbolRoleSet(), Relations); in HandleTemplateSpecializationTypeLoc() 206 ParentDC, SymbolRoleSet(), Relations); in VisitInjectedClassNameTypeLoc() 290 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc() 294 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc() [all …]
|
| H A D | IndexDecl.cpp | 169 SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic; in handleObjCMethod() 174 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleObjCMethod() 244 SymbolRoleSet Roles{}; in VisitFunctionDecl() 398 SymbolRoleSet roles{}; in handleReferencedProtocols() 400 roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleReferencedProtocols() 422 SymbolRoleSet superRoles{}; in VisitObjCInterfaceDecl() 542 SymbolRoleSet Roles = 0; in VisitObjCPropertyImplDecl() 549 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in VisitObjCPropertyImplDecl() 557 SymbolRoleSet AccessorMethodRoles = in VisitObjCPropertyImplDecl() 558 SymbolRoleSet(SymbolRole::Dynamic) | SymbolRoleSet(SymbolRole::Implicit); in VisitObjCPropertyImplDecl() [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() 215 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr() 233 SymbolRoleSet Roles{}; in VisitObjCMessageExpr() 328 SymbolRoleSet Roles{}; in passObjCLiteralMethodCall() 358 SymbolRoleSet Roles{}; in VisitCXXConstructExpr() [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() 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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolCollector.h | 114 handleDeclOccurrence(const Decl *D, index::SymbolRoleSet Roles, 120 index::SymbolRoleSet Roles, 174 index::SymbolRoleSet Roles;
|
| H A D | SymbolCollector.cpp | 120 bool isPreferredDeclaration(const NamedDecl &ND, index::SymbolRoleSet Roles) { in isPreferredDeclaration() 132 RefKind toRefKind(index::SymbolRoleSet Roles, bool Spelled = false) { in toRefKind() 522 const Decl *D, index::SymbolRoleSet Roles, in handleDeclOccurrence() 689 index::SymbolRoleSet Roles, in handleMacroOccurrence()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/unittests/Index/ |
| H A D | IndexTests.cpp | 61 SymbolRoleSet Roles; 77 bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence() 95 SymbolRoleSet Roles, SourceLocation Loc) override { in handleMacroOccurrence()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.cpp | 875 index::SymbolRoleSet Role; 912 handleDeclOccurrence(const Decl *D, index::SymbolRoleSet Roles, in handleDeclOccurrence() 1208 if (Ref.Role & index::SymbolRoleSet(index::SymbolRole::Write)) in toHighlight() 1210 else if (Ref.Role & index::SymbolRoleSet(index::SymbolRole::Read)) in toHighlight()
|