Searched refs:asDecl (Results 1 – 9 of 9) sorted by relevance
194 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function199 return dyn_cast_if_present<ValueDecl>(asDecl()); in asValueDecl()203 return dyn_cast_if_present<VarDecl>(asDecl()); in asVarDecl()207 return dyn_cast_if_present<FieldDecl>(asDecl()); in asFieldDecl()211 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()
129 if (Desc->asDecl()) in CheckFieldsInitialized()130 S.FFDiag(BasePtr.getDeclDesc()->asDecl()->getLocation(), in CheckFieldsInitialized()
166 {Ptr.getFieldDesc()->asDecl(), /*IsVirtual=*/false})); in toAPValue()168 if (const auto *FD = dyn_cast<FieldDecl>(Ptr.getFieldDesc()->asDecl())) in toAPValue()187 if (const auto *BaseOrMember = Desc->asDecl()) { in toAPValue()
111 if (const auto *D = Desc->asDecl()) { in print()
218 if (const auto *ND = dyn_cast_if_present<NamedDecl>(asDecl())) in dump()
264 return !isRoot() && getFieldDesc()->asDecl(); in isField()
371 if (const auto *T = dyn_cast<TypeDecl>(asDecl())) in getType()
354 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function