Home
last modified time | relevance | path

Searched refs:SymbolRole (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp416 llvm::function_ref<bool(SymbolRole)> Fn) { in applyForEachSymbolRoleInterruptible()
418 if (Roles & (unsigned)SymbolRole::Role) \ in applyForEachSymbolRoleInterruptible()
419 if (!Fn(SymbolRole::Role)) \ in applyForEachSymbolRoleInterruptible()
450 llvm::function_ref<void(SymbolRole)> Fn) { in applyForEachSymbolRole()
451 applyForEachSymbolRoleInterruptible(Roles, [&](SymbolRole r) -> bool { in applyForEachSymbolRole()
459 applyForEachSymbolRole(Roles, [&](SymbolRole Role) { in printSymbolRoles()
465 case SymbolRole::Declaration: OS << "Decl"; break; in printSymbolRoles()
466 case SymbolRole::Definition: OS << "Def"; break; in printSymbolRoles()
467 case SymbolRole::Reference: OS << "Ref"; break; in printSymbolRoles()
468 case SymbolRole::Read: OS << "Read"; break; in printSymbolRoles()
[all …]
H A DIndexBody.cpp71 Roles |= (unsigned)(unsigned)SymbolRole::Read; in getRolesForRef()
82 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
85 Roles |= (unsigned)SymbolRole::Read; in getRolesForRef()
86 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
91 Roles |= (unsigned)SymbolRole::Read; in getRolesForRef()
92 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
94 Roles |= (unsigned)SymbolRole::AddressOf; in getRolesForRef()
103 Roles |= (unsigned)SymbolRole::Dynamic; in getRolesForRef()
107 Relations.emplace_back((unsigned)SymbolRole::RelationReceivedBy, in getRolesForRef()
115 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
[all …]
H A DIndexDecl.cpp146 Relations.emplace_back((unsigned) SymbolRole::RelationOverrideOf, in handleObjCMethod()
150 Relations.emplace_back((unsigned)SymbolRole::RelationAccessorOf, in handleObjCMethod()
169 SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic; in handleObjCMethod()
174 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleObjCMethod()
238 SymbolRoleSet(SymbolRole::RelationSpecializationOf), ND); in gatherTemplatePseudoOverrides()
248 Roles |= (unsigned)SymbolRole::Dynamic; in VisitFunctionDecl()
250 Relations.emplace_back((unsigned)SymbolRole::RelationOverrideOf, O); in VisitFunctionDecl()
256 SymbolRelation(SymbolRoleSet(SymbolRole::RelationSpecializationOf), in VisitFunctionDecl()
265 (unsigned)SymbolRole::NameReference); in VisitFunctionDecl()
273 (unsigned)SymbolRole::Write); in VisitFunctionDecl()
[all …]
H A DIndexTypeSourceInfo.cpp36 Relations.emplace_back((unsigned)SymbolRole::RelationBaseOf, Parent); in TypeIndexer()
40 Relations.emplace_back((unsigned)SymbolRole::RelationIBTypeOf, Parent); in TypeIndexer()
72 (unsigned)SymbolRole::Implicit, in VisitTypedefTypeLoc()
H A DIndexingAction.cpp227 ? SymbolRole::Definition in indexPreprocessorMacro()
228 : SymbolRole::Undefinition; in indexPreprocessorMacro()
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h102 enum class SymbolRole : uint32_t { enum
158 llvm::function_ref<void(SymbolRole)> Fn);
160 llvm::function_ref<bool(SymbolRole)> Fn);