/llvm-project/clang/lib/Index/ |
H A D | IndexBody.cpp | 63 SymbolRoleSet Roles{}; in getRolesForRef() local 131 void addCallRole(SymbolRoleSet &Roles, in addCallRole() 142 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitDeclRefExpr() local 163 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitMemberExpr() local 195 SymbolRoleSet Roles = getRolesForRef(E, Relations); in indexDependentReference() local 229 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCIvarRefExpr() local 247 SymbolRoleSet Roles{}; in VisitObjCMessageExpr() local 309 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCPropertyRefExpr() local 319 SymbolRoleSet Roles = getRolesForRef(E, Relations); in VisitObjCPropertyRefExpr() local 342 SymbolRoleSet Roles{}; in passObjCLiteralMethodCall() local [all …]
|
H A D | IndexingContext.cpp | 53 SymbolRoleSet Roles, in handleDecl() 59 SymbolRoleSet Roles, in handleDecl() 77 SymbolRoleSet Roles, in handleReference() 141 SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration; in importedModule() local 309 bool IsRef, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) { in shouldReportOccurrenceForSystemDeclOnlyMode() 357 SymbolRoleSet Roles, in handleDeclOccurrence() 457 SymbolRoleSet Roles = (unsigned)SymbolRole::Definition; in handleMacroDefined() local 466 SymbolRoleSet Roles = (unsigned)SymbolRole::Undefinition; in handleMacroUndefined() local 475 SymbolRoleSet Roles = (unsigned)SymbolRole::Reference; in handleMacroReference() local
|
H A D | FileIndexRecord.cpp | 31 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence() argument 40 void FileIndexRecord::addMacroOccurence(SymbolRoleSet Roles, unsigned Offset, in addMacroOccurence() argument
|
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()
|
H A D | IndexDecl.cpp | 169 SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic; in handleObjCMethod() local 244 SymbolRoleSet Roles{}; in VisitFunctionDecl() local 542 SymbolRoleSet Roles = 0; in VisitObjCPropertyImplDecl() local
|
/llvm-project/clang/include/clang/Index/ |
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()
|
H A D | DeclOccurrence.h | 24 SymbolRoleSet Roles; member
|
H A D | IndexSymbol.h | 137 SymbolRoleSet Roles; member
|
/llvm-project/clang-tools-extra/clangd/index/dex/ |
H A D | Trigram.cpp | 33 llvm::SmallVector<CharRole> Roles(Identifier.size()); in identifierTrigrams() local 128 llvm::SmallVector<CharRole> Roles(Query.size()); in generateQueryTrigrams() local
|
/llvm-project/clang/tools/c-index-test/ |
H A D | core_main.cpp | 104 handleDeclOccurrence(const Decl * D,SymbolRoleSet Roles,ArrayRef<SymbolRelation> Relations,SourceLocation Loc,ASTNodeInfo ASTNode) handleDeclOccurrence() argument 143 handleModuleOccurrence(const ImportDecl * ImportD,const clang::Module * Mod,SymbolRoleSet Roles,SourceLocation Loc) handleModuleOccurrence() argument 167 handleMacroOccurrence(const IdentifierInfo * Name,const MacroInfo * MI,SymbolRoleSet Roles,SourceLocation Loc) handleMacroOccurrence() argument
|
/llvm-project/clang/unittests/Index/ |
H A D | IndexTests.cpp | 61 SymbolRoleSet Roles; member 77 bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, in handleDeclOccurrence() 95 SymbolRoleSet Roles, SourceLocation Loc) override { in handleMacroOccurrence()
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | SymbolCollector.cpp | 139 isPreferredDeclaration(const NamedDecl & ND,index::SymbolRoleSet Roles) isPreferredDeclaration() argument 151 toRefKind(index::SymbolRoleSet Roles,bool Spelled=false) toRefKind() argument 532 handleDeclOccurrence(const Decl * D,index::SymbolRoleSet Roles,llvm::ArrayRef<index::SymbolRelation> Relations,SourceLocation Loc,index::IndexDataConsumer::ASTNodeInfo ASTNode) handleDeclOccurrence() argument 699 handleMacroOccurrence(const IdentifierInfo * Name,const MacroInfo * MI,index::SymbolRoleSet Roles,SourceLocation Loc) handleMacroOccurrence() argument [all...] |
H A D | SymbolCollector.h | 210 index::SymbolRoleSet Roles; global() member
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | FuzzyMatchTests.cpp | 290 std::vector<CharRole> Roles(Text.size()); in segment() local
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | FuzzyMatch.cpp | 155 llvm::MutableArrayRef<CharRole> Roles) { in calculateRoles()
|
H A D | SourceCode.cpp | 877 std::vector<CharRole> Roles(Content.size()); in collectWords() local
|
H A D | XRefs.cpp | 908 handleDeclOccurrence(const Decl * D,index::SymbolRoleSet Roles,llvm::ArrayRef<index::SymbolRelation> Relations,SourceLocation Loc,index::IndexDataConsumer::ASTNodeInfo ASTNode) handleDeclOccurrence() argument
|
/llvm-project/clang/include/clang/Basic/ |
H A D | Sarif.h | 112 llvm::SmallVector<std::string, 4> Roles; variable
|
/llvm-project/clang/tools/libclang/ |
H A D | CXIndexDataConsumer.cpp | 164 const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, in handleDeclOccurrence() argument 231 SymbolRoleSet Roles, in handleModuleOccurrence() argument
|