Home | History | Annotate | Download | only in AST

Lines Matching defs:getDecl

874     const ValueDecl *getDecl() const {
888 V = APValue(getDecl(), isDerivedMember(), Path);
930 if (!getDecl())
944 if (!getDecl())
958 if (!LHS.getDecl() || !RHS.getDecl())
959 return !LHS.getDecl() && !RHS.getDecl();
960 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()->getCanonicalDecl())
1230 RecordDecl *RD = Type->castAs<RecordType>()->getDecl();
2073 RecordDecl *RD = ObjType->castAs<RecordType>()->getDecl();
2837 if (!MemPtr.getDecl()) {
2893 if (const FieldDecl *FD = dyn_cast<FieldDecl>(MemPtr.getDecl())) {
2897 dyn_cast<IndirectFieldDecl>(MemPtr.getDecl())) {
2905 return MemPtr.getDecl();
3943 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() ==
4096 assert(BaseTy->getAs<RecordType>()->getDecl()->getCanonicalDecl() ==
4242 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(E->getDecl()))
4244 if (const VarDecl *VD = dyn_cast<VarDecl>(E->getDecl()))
4757 return Success(cast<DeclRefExpr>(E->getSubExpr())->getDecl());
4839 const RecordDecl *RD = E->getType()->castAs<RecordType>()->getDecl();
4899 const RecordDecl *RD = E->getType()->castAs<RecordType>()->getDecl();
5029 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl();
5586 if (CheckReferencedDecl(E, E->getDecl()))
6690 if (!LHSValue.getDecl() || !RHSValue.getDecl()) {
6691 bool Equal = !LHSValue.getDecl() && !RHSValue.getDecl();
6697 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(LHSValue.getDecl()))
6700 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(RHSValue.getDecl()))
6750 return Info.Ctx.getDeclAlign(DRE->getDecl(),
6834 RecordDecl *RD = RT->getDecl();
6856 RecordDecl *RD = RT->getDecl();
6867 Result += RL.getBaseClassOffset(cast<CXXRecordDecl>(BaseRT->getDecl()));
8177 if (isa<EnumConstantDecl>(cast<DeclRefExpr>(E)->getDecl()))
8179 const ValueDecl *D = dyn_cast<ValueDecl>(cast<DeclRefExpr>(E)->getDecl());