Lines Matching full:initexpr
2450 const Expr *InitExpr = VD->getInit(); in DiagnoseForRangeReferenceVariableCopies() local
2451 if (!InitExpr) in DiagnoseForRangeReferenceVariableCopies()
2456 if (auto Cleanups = dyn_cast<ExprWithCleanups>(InitExpr)) in DiagnoseForRangeReferenceVariableCopies()
2458 InitExpr = Cleanups->getSubExpr(); in DiagnoseForRangeReferenceVariableCopies()
2461 dyn_cast<MaterializeTemporaryExpr>(InitExpr); in DiagnoseForRangeReferenceVariableCopies()
2523 const Expr *InitExpr = VD->getInit(); in DiagnoseForRangeConstVariableCopies() local
2524 if (!InitExpr) in DiagnoseForRangeConstVariableCopies()
2529 if (const CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(InitExpr)) { in DiagnoseForRangeConstVariableCopies()
2532 } else if (const CastExpr *CE = dyn_cast<CastExpr>(InitExpr)) { in DiagnoseForRangeConstVariableCopies()
2548 << VD << VariableType << InitExpr->getType(); in DiagnoseForRangeConstVariableCopies()
2582 const Expr *InitExpr = VD->getInit(); in DiagnoseForRangeVariableCopies() local
2583 if (!InitExpr) in DiagnoseForRangeVariableCopies()
2796 Expr *InitExpr = &AsRvalue; in PerformMoveOrCopyInitialization() local
2801 InitializationSequence Seq(*this, Entity, Kind, InitExpr); in PerformMoveOrCopyInitialization()