Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h151 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function
155 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()
H A DSource.cpp20 if (const Decl *D = asDecl()) in getLoc()
30 if (const Decl *D = asDecl()) in getRange()
H A DSource.h82 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function
H A DEvaluationResult.cpp122 S.FFDiag(BasePtr.getDeclDesc()->asDecl()->getLocation(), in CheckFieldsInitialized()
H A DInterpFrame.cpp115 if (const auto *D = Desc->asDecl()) { in print()
H A DPointer.cpp131 if (const auto *BaseOrMember = Desc->asDecl()) { in toAPValue()
H A DDescriptor.cpp311 if (auto *T = dyn_cast<TypeDecl>(asDecl())) in getType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h354 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function