Searched refs:asDecl (Results 1 – 11 of 11) sorted by relevance
220 const Decl *asDecl() const { return dyn_cast<const Decl *>(Source); } in asDecl() function225 return dyn_cast_if_present<ValueDecl>(asDecl()); in asValueDecl()229 return dyn_cast_if_present<VarDecl>(asDecl()); in asVarDecl()233 return dyn_cast_if_present<FieldDecl>(asDecl()); in asFieldDecl()237 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()
85 const Decl *asDecl() const { in asDecl() function
231 const auto *Dcl = Desc->asDecl(); in toAPValue()264 if (const auto *BaseOrMember = Desc->asDecl()) { in toAPValue()858 Layout.getBaseClassOffset(cast<CXXRecordDecl>(BaseDesc->asDecl())); in baseCast()
374 if (const auto *ND = dyn_cast_if_present<NamedDecl>(asDecl())) in dump()
288 return !isRoot() && getFieldDesc()->asDecl(); in isField()
429 if (const auto *T = dyn_cast_if_present<TypeDecl>(asDecl())) in getType()
1606 if (const auto *D = Ptr.getFieldDesc()->asDecl()) in interp__builtin_operator_delete()2144 const auto *RD = cast<CXXRecordDecl>(D->asDecl()); in computePointerOffset()
1321 S.Current->getThis().getDeclDesc()->asDecl() == S.EvaluatingDecl) { in CheckLiteralType()
2319 auto *D = cast<NamedDecl>(Ptr.getFieldDesc()->asDecl()); in Destroy()
354 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function