Searched refs:asDecl (Results 1 – 8 of 8) sorted by relevance
151 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function155 return dyn_cast_if_present<ValueDecl>(asDecl()); in asValueDecl()159 return dyn_cast_if_present<FieldDecl>(asDecl()); in asFieldDecl()163 return dyn_cast_if_present<RecordDecl>(asDecl()); in asRecordDecl()
20 if (const Decl *D = asDecl()) in getLoc()30 if (const Decl *D = asDecl()) in getRange()
82 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function
122 S.FFDiag(BasePtr.getDeclDesc()->asDecl()->getLocation(), in CheckFieldsInitialized()
115 if (const auto *D = Desc->asDecl()) { in print()
131 if (const auto *BaseOrMember = Desc->asDecl()) { in toAPValue()
311 if (auto *T = dyn_cast<TypeDecl>(asDecl())) in getType()
354 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function