Lines Matching refs:InitExpr
349 Expr *InitExpr, FieldDecl *Field,
372 Expr *InitExpr;
392 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context)
394 InitExpr->setType(SemaRef.Context.VoidTy);
395 SubInit = InitExpr;
653 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr);
654 if (!InitExpr && Init < NumInits && ILE->hasArrayFiller())
656 else if (!InitExpr && !ILE->hasArrayFiller()) {
700 = dyn_cast_or_null<InitListExpr>(InitExpr))
704 = dyn_cast_or_null<DesignatedInitUpdateExpr>(InitExpr))
1637 Expr *InitExpr,
1642 if (isa<InitListExpr>(InitExpr) &&
1643 cast<InitListExpr>(InitExpr)->getNumInits() == 0) {
1665 SemaRef.Diag(InitExpr->getLocStart(),
1667 << InitExpr->getLocStart();
5946 static void CheckMoveOnConstruction(Sema &S, const Expr *InitExpr,
5948 if (!InitExpr)
5954 QualType DestType = InitExpr->getType();
5961 dyn_cast<CXXConstructExpr>(InitExpr->IgnoreParens());
5968 InitExpr = CCE->getArg(0)->IgnoreImpCasts();
5972 const CallExpr *CE = dyn_cast<CallExpr>(InitExpr->IgnoreParens());