Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h194 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl() function
199 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()
H A DSource.cpp20 if (const Decl *D = asDecl()) in getLoc()
30 if (const Decl *D = asDecl()) in getRange()
H A DEvaluationResult.cpp129 if (Desc->asDecl()) in CheckFieldsInitialized()
130 S.FFDiag(BasePtr.getDeclDesc()->asDecl()->getLocation(), in CheckFieldsInitialized()
H A DPointer.cpp166 {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()
H A DInterpFrame.cpp111 if (const auto *D = Desc->asDecl()) { in print()
H A DDisasm.cpp218 if (const auto *ND = dyn_cast_if_present<NamedDecl>(asDecl())) in dump()
H A DPointer.h264 return !isRoot() && getFieldDesc()->asDecl(); in isField()
H A DDescriptor.cpp371 if (const auto *T = dyn_cast<TypeDecl>(asDecl())) in getType()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h354 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl() function