Lines Matching refs:RealDecl
9514 void Sema::AddInitializerToDecl(Decl *RealDecl, Expr *Init, in AddInitializerToDecl() argument
9518 if (!RealDecl || RealDecl->isInvalidDecl()) { in AddInitializerToDecl()
9519 CorrectDelayedTyposInExpr(Init, dyn_cast_or_null<VarDecl>(RealDecl)); in AddInitializerToDecl()
9523 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) { in AddInitializerToDecl()
9531 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl()
9533 assert(!isa<FieldDecl>(RealDecl) && "field init shouldn't get here"); in AddInitializerToDecl()
9534 Diag(RealDecl->getLocation(), diag::err_illegal_initializer); in AddInitializerToDecl()
9535 RealDecl->setInvalidDecl(); in AddInitializerToDecl()
9546 RealDecl->setInvalidDecl(); in AddInitializerToDecl()
9555 RealDecl->setInvalidDecl(); in AddInitializerToDecl()
9603 RealDecl->setInvalidDecl(); in AddInitializerToDecl()
9740 CheckSelfReference(*this, RealDecl, Init, DirectInit); in AddInitializerToDecl()
9985 void Sema::ActOnUninitializedDecl(Decl *RealDecl, in ActOnUninitializedDecl() argument
9988 if (!RealDecl) in ActOnUninitializedDecl()
9991 if (VarDecl *Var = dyn_cast<VarDecl>(RealDecl)) { in ActOnUninitializedDecl()