Searched refs:asDecl (Results 1 – 8 of 8) sorted by relevance
112 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function116 return dyn_cast_or_null<ValueDecl>(asDecl()); in asValueDecl()120 return dyn_cast_or_null<FieldDecl>(asDecl()); in asFieldDecl()124 return dyn_cast_or_null<RecordDecl>(asDecl()); in asRecordDecl()
20 if (const Decl *D = asDecl()) in getLoc()
90 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function
119 if (auto *BaseOrMember = Desc->asDecl()) { in toAPValue()
70 if (auto *D = Desc->asDecl()) { in print()
357 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function
284 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function
1050 if (Container.asDecl()) in containsLocation()