Lines Matching refs:ASTNode
164 SourceLocation Loc, ASTNodeInfo ASTNode) { in handleDeclOccurrence() argument
172 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) { in handleDeclOccurrence()
180 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) { in handleDeclOccurrence()
196 if (ASTNode.OrigE) { in handleDeclOccurrence()
197 Cursor = cxcursor::MakeCXCursor(ASTNode.OrigE, in handleDeclOccurrence()
198 cast<Decl>(ASTNode.ContainerDC), in handleDeclOccurrence()
201 if (ASTNode.OrigD) { in handleDeclOccurrence()
202 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD)) in handleDeclOccurrence()
205 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); in handleDeclOccurrence()
211 dyn_cast_or_null<NamedDecl>(ASTNode.Parent), in handleDeclOccurrence()
212 ASTNode.ContainerDC, ASTNode.OrigE, Kind, CXRole); in handleDeclOccurrence()
215 const DeclContext *LexicalDC = ASTNode.ContainerDC; in handleDeclOccurrence()
222 IndexingDeclVisitor(*this, Loc, LexicalDC).Visit(ASTNode.OrigD); in handleDeclOccurrence()