Searched refs:Relations (Results 1 - 12 of 12) sorted by relevance

/openbsd-current/gnu/llvm/clang/include/clang/Index/
H A DDeclOccurrence.h28 SmallVector<SymbolRelation, 3> Relations; member in struct:clang::index::DeclOccurrence
31 ArrayRef<SymbolRelation> Relations)
33 Relations(Relations.begin(), Relations.end()) {}
30 DeclOccurrence(SymbolRoleSet R, unsigned Offset, const Decl *D, ArrayRef<SymbolRelation> Relations) argument
H A DIndexDataConsumer.h43 ArrayRef<SymbolRelation> Relations,
42 handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, SourceLocation Loc, ASTNodeInfo ASTNode) argument
/openbsd-current/gnu/llvm/clang/lib/Index/
H A DIndexBody.cpp62 SmallVectorImpl<SymbolRelation> &Relations) {
99 addCallRole(Roles, Relations);
107 Relations.emplace_back((unsigned)SymbolRole::RelationReceivedBy,
132 SmallVectorImpl<SymbolRelation> &Relations) {
135 Relations.emplace_back((unsigned)SymbolRole::RelationCalledBy, FD);
137 Relations.emplace_back((unsigned)SymbolRole::RelationCalledBy, MD);
141 SmallVector<SymbolRelation, 4> Relations; local
142 SymbolRoleSet Roles = getRolesForRef(E, Relations);
144 Parent, ParentDC, Roles, Relations, E);
151 SmallVector<SymbolRelation, 4> Relations; local
61 getRolesForRef(const Expr *E, SmallVectorImpl<SymbolRelation> &Relations) argument
131 addCallRole(SymbolRoleSet &Roles, SmallVectorImpl<SymbolRelation> &Relations) argument
183 SmallVector<SymbolRelation, 4> Relations; local
214 SmallVector<SymbolRelation, 4> Relations; local
234 SmallVector<SymbolRelation, 2> Relations; local
294 SmallVector<SymbolRelation, 2> Relations; local
304 SmallVector<SymbolRelation, 2> Relations; local
329 SmallVector<SymbolRelation, 2> Relations; local
359 SmallVector<SymbolRelation, 2> Relations; local
472 SmallVector<SymbolRelation, 4> Relations; local
[all...]
H A DIndexTypeSourceInfo.cpp26 SmallVector<SymbolRelation, 3> Relations; member in class:__anon682::TypeIndexer
36 Relations.emplace_back((unsigned)SymbolRole::RelationBaseOf, Parent);
40 Relations.emplace_back((unsigned)SymbolRole::RelationIBTypeOf, Parent);
65 ParentDC, SymbolRoleSet(), Relations);
73 Relations));
78 Relations));
131 Relations);
136 Parent, ParentDC, SymbolRoleSet(), Relations);
142 Parent, ParentDC, SymbolRoleSet(), Relations);
157 SymbolRoleSet(), Relations);
304 indexTagDecl(const TagDecl *D, ArrayRef<SymbolRelation> Relations) argument
[all...]
H A DIndexingContext.h71 ArrayRef<SymbolRelation> Relations = std::nullopt);
75 ArrayRef<SymbolRelation> Relations = std::nullopt,
81 ArrayRef<SymbolRelation> Relations = std::nullopt,
98 ArrayRef<SymbolRelation> Relations = std::nullopt);
130 ArrayRef<SymbolRelation> Relations,
H A DIndexDecl.cpp141 SmallVector<SymbolRelation, 4> Relations; local
146 Relations.emplace_back((unsigned) SymbolRole::RelationOverrideOf,
150 Relations.emplace_back((unsigned)SymbolRole::RelationAccessorOf,
181 TRY_DECL(D, IndexCtx.handleDecl(D, MethodLoc, Roles, Relations));
206 SmallVectorImpl<SymbolRelation> &Relations) {
237 Relations.emplace_back(
245 SmallVector<SymbolRelation, 4> Relations; local
250 Relations.emplace_back((unsigned)SymbolRole::RelationOverrideOf, O);
253 gatherTemplatePseudoOverrides(D, Relations);
255 Relations
205 gatherTemplatePseudoOverrides(const NamedDecl *D, SmallVectorImpl<SymbolRelation> &Relations) argument
306 SmallVector<SymbolRelation, 4> Relations; local
321 SmallVector<SymbolRelation, 4> Relations; local
356 SmallVector<SymbolRelation, 4> Relations; local
368 SmallVector<SymbolRelation, 4> Relations; local
372 SmallVector<SymbolRelation, 1> Relations; local
543 SmallVector<SymbolRelation, 1> Relations; local
[all...]
H A DFileIndexRecord.h47 /// \param Relations the set of symbols related to this occurrence.
49 ArrayRef<SymbolRelation> Relations);
H A DFileIndexRecord.cpp33 ArrayRef<SymbolRelation> Relations) {
37 Decls.emplace_back(Roles, Offset, D, Relations);
31 addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, const Decl *D, ArrayRef<SymbolRelation> Relations) argument
H A DIndexingContext.cpp54 ArrayRef<SymbolRelation> Relations) {
55 return handleDecl(D, D->getLocation(), Roles, Relations);
60 ArrayRef<SymbolRelation> Relations,
70 Roles, Relations,
78 ArrayRef<SymbolRelation> Relations,
89 return handleDeclOccurrence(D, Loc, /*IsRef=*/true, Parent, Roles, Relations,
310 bool IsRef, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) {
348 for (auto &Rel : Relations) {
359 ArrayRef<SymbolRelation> Relations,
383 if (!shouldReportOccurrenceForSystemDeclOnlyMode(IsRef, Roles, Relations))
52 handleDecl(const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) argument
58 handleDecl(const Decl *D, SourceLocation Loc, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const DeclContext *DC) argument
74 handleReference(const NamedDecl *D, SourceLocation Loc, const NamedDecl *Parent, const DeclContext *DC, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const Expr *RefE, const Decl *RefD) argument
309 shouldReportOccurrenceForSystemDeclOnlyMode( bool IsRef, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations) argument
356 handleDeclOccurrence(const Decl *D, SourceLocation Loc, bool IsRef, const Decl *Parent, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const Expr *OrigE, const Decl *OrigD, const DeclContext *ContainerDC) argument
[all...]
/openbsd-current/gnu/llvm/clang/tools/c-index-test/
H A Dcore_main.cpp105 ArrayRef<SymbolRelation> Relations,
129 OS << "rel: " << Relations.size() << '\n';
131 for (auto &SymRel : Relations) {
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.h436 ArrayRef<index::SymbolRelation> Relations,
H A DCXIndexDataConsumer.cpp163 const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations,
217 for (const auto &SymRel : Relations) {
162 handleDeclOccurrence( const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, SourceLocation Loc, ASTNodeInfo ASTNode) argument

Completed in 206 milliseconds