Home
last modified time | relevance | path

Searched refs:asDecl (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DDescriptor.h220 const Decl *asDecl() const { return dyn_cast<const Decl *>(Source); } in asDecl() function
225 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()
H A DSource.cpp20 if (const Decl *D = asDecl()) in getLoc()
30 if (const Decl *D = asDecl()) in getRange()
H A DSource.h85 const Decl *asDecl() const { in asDecl() function
H A DPointer.cpp231 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()
H A DDisasm.cpp374 if (const auto *ND = dyn_cast_if_present<NamedDecl>(asDecl())) in dump()
H A DPointer.h288 return !isRoot() && getFieldDesc()->asDecl(); in isField()
H A DDescriptor.cpp429 if (const auto *T = dyn_cast_if_present<TypeDecl>(asDecl())) in getType()
H A DInterpBuiltin.cpp1606 if (const auto *D = Ptr.getFieldDesc()->asDecl()) in interp__builtin_operator_delete()
2144 const auto *RD = cast<CXXRecordDecl>(D->asDecl()); in computePointerOffset()
H A DInterp.cpp1321 S.Current->getThis().getDeclDesc()->asDecl() == S.EvaluatingDecl) { in CheckLiteralType()
H A DInterp.h2319 auto *D = cast<NamedDecl>(Ptr.getFieldDesc()->asDecl()); in Destroy()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h354 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function