Searched refs:asDecl (Results 1 – 6 of 6) sorted by relevance
145 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function149 return dyn_cast_if_present<ValueDecl>(asDecl()); in asValueDecl()153 return dyn_cast_if_present<FieldDecl>(asDecl()); in asFieldDecl()157 return dyn_cast_if_present<RecordDecl>(asDecl()); in asRecordDecl()
20 if (const Decl *D = asDecl()) in getLoc()
79 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function
122 if (auto *BaseOrMember = Desc->asDecl()) { in toAPValue()
101 if (auto *D = Desc->asDecl()) { in print()
354 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function