Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexingContext.cpp326 case SymbolRole::Declaration: in shouldReportOccurrenceForSystemDeclOnlyMode()
327 case SymbolRole::Definition: in shouldReportOccurrenceForSystemDeclOnlyMode()
328 case SymbolRole::Reference: in shouldReportOccurrenceForSystemDeclOnlyMode()
329 case SymbolRole::Read: in shouldReportOccurrenceForSystemDeclOnlyMode()
330 case SymbolRole::Write: in shouldReportOccurrenceForSystemDeclOnlyMode()
331 case SymbolRole::Call: in shouldReportOccurrenceForSystemDeclOnlyMode()
332 case SymbolRole::Dynamic: in shouldReportOccurrenceForSystemDeclOnlyMode()
333 case SymbolRole::AddressOf: in shouldReportOccurrenceForSystemDeclOnlyMode()
334 case SymbolRole::Implicit: in shouldReportOccurrenceForSystemDeclOnlyMode()
335 case SymbolRole::Undefinition: in shouldReportOccurrenceForSystemDeclOnlyMode()
[all …]
H A DIndexSymbol.cpp418 if (Roles & (unsigned)SymbolRole::Role) \ in applyForEachSymbolRoleInterruptible()
419 if (!Fn(SymbolRole::Role)) \ in applyForEachSymbolRoleInterruptible()
459 applyForEachSymbolRole(Roles, [&](SymbolRole Role) { 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()
469 case SymbolRole::Write: OS << "Writ"; break; in printSymbolRoles()
470 case SymbolRole::Call: OS << "Call"; break; in printSymbolRoles()
471 case SymbolRole::Dynamic: OS << "Dyn"; break; in printSymbolRoles()
472 case SymbolRole::AddressOf: OS << "Addr"; break; in printSymbolRoles()
[all …]
H A DIndexBody.cpp81 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
85 Roles |= (unsigned)SymbolRole::Read; in getRolesForRef()
86 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
88 Roles |= (unsigned)SymbolRole::AddressOf; in getRolesForRef()
93 Roles |= (unsigned)SymbolRole::Read; in getRolesForRef()
94 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
115 Roles |= (unsigned)SymbolRole::Write; in getRolesForRef()
119 Roles |= (unsigned)SymbolRole::Read; in getRolesForRef()
133 Roles |= (unsigned)SymbolRole::Call; in addCallRole()
265 Roles |= (unsigned)SymbolRole::Dynamic; in VisitObjCMessageExpr()
[all …]
H A DIndexDecl.cpp169 SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic; in handleObjCMethod()
174 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleObjCMethod()
248 Roles |= (unsigned)SymbolRole::Dynamic; in VisitFunctionDecl()
265 (unsigned)SymbolRole::NameReference); in VisitFunctionDecl()
273 (unsigned)SymbolRole::Write); in VisitFunctionDecl()
400 roles |= (SymbolRoleSet)SymbolRole::Implicit; in handleReferencedProtocols()
424 superRoles |= (SymbolRoleSet)SymbolRole::Implicit; in VisitObjCInterfaceDecl()
549 Roles |= (SymbolRoleSet)SymbolRole::Implicit; in VisitObjCPropertyImplDecl()
558 SymbolRoleSet(SymbolRole::Dynamic) | SymbolRoleSet(SymbolRole::Implicit); in VisitObjCPropertyImplDecl()
579 IvarRoles = (SymbolRoleSet)SymbolRole::Implicit; in VisitObjCPropertyImplDecl()
[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()
/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp167 if (Roles & (unsigned)SymbolRole::Reference) { in handleDeclOccurrence()
190 if (Roles & (unsigned)SymbolRole::Implicit) { in handleDeclOccurrence()
218 if (SymRel.Roles & (unsigned)SymbolRole::RelationChildOf) in handleDeclOccurrence()
232 if (Roles & (SymbolRoleSet)SymbolRole::Declaration) in handleModuleOccurrence()