Home
last modified time | relevance | path

Searched defs:Roles (Results 1 – 19 of 19) sorted by relevance

/llvm-project/clang/lib/Index/
H A DIndexBody.cpp63 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 DIndexingContext.cpp53 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 DFileIndexRecord.cpp31 void FileIndexRecord::addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, in addDeclOccurence() argument
40 void FileIndexRecord::addMacroOccurence(SymbolRoleSet Roles, unsigned Offset, in addMacroOccurence() argument
H A DIndexSymbol.cpp415 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 DIndexDecl.cpp169 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 DIndexDataConsumer.h42 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 DDeclOccurrence.h24 SymbolRoleSet Roles; member
H A DIndexSymbol.h137 SymbolRoleSet Roles; member
/llvm-project/clang-tools-extra/clangd/index/dex/
H A DTrigram.cpp33 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 Dcore_main.cpp104 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 DIndexTests.cpp61 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 DSymbolCollector.cpp139 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 DSymbolCollector.h210 index::SymbolRoleSet Roles; global() member
/llvm-project/clang-tools-extra/clangd/unittests/
H A DFuzzyMatchTests.cpp290 std::vector<CharRole> Roles(Text.size()); in segment() local
/llvm-project/clang-tools-extra/clangd/
H A DFuzzyMatch.cpp155 llvm::MutableArrayRef<CharRole> Roles) { in calculateRoles()
H A DSourceCode.cpp877 std::vector<CharRole> Roles(Content.size()); in collectWords() local
H A DXRefs.cpp908 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 DSarif.h112 llvm::SmallVector<std::string, 4> Roles; variable
/llvm-project/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp164 const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, in handleDeclOccurrence() argument
231 SymbolRoleSet Roles, in handleModuleOccurrence() argument