• Home
  • Raw
  • Download

Lines Matching full:initexpr

2001 /// bitfield width if there is one, 'InitExpr' specifies the initializer if
2658 Expr *InitExpr = FieldInit->getInit(); in DiagnoseUninitializedFields() local
2659 if (!InitExpr) in DiagnoseUninitializedFields()
2663 dyn_cast<CXXDefaultInitExpr>(InitExpr)) { in DiagnoseUninitializedFields()
2664 InitExpr = Default->getExpr(); in DiagnoseUninitializedFields()
2665 if (!InitExpr) in DiagnoseUninitializedFields()
2668 UninitializedChecker.CheckInitializer(InitExpr, Constructor, in DiagnoseUninitializedFields()
2672 UninitializedChecker.CheckInitializer(InitExpr, nullptr, in DiagnoseUninitializedFields()
2694 Expr *InitExpr) { in ActOnFinishCXXInClassMemberInitializer() argument
2702 if (!InitExpr) { in ActOnFinishCXXInClassMemberInitializer()
2709 if (DiagnoseUnexpandedParameterPack(InitExpr, UPPC_Initializer)) { in ActOnFinishCXXInClassMemberInitializer()
2715 ExprResult Init = InitExpr; in ActOnFinishCXXInClassMemberInitializer()
2716 if (!FD->getType()->isDependentType() && !InitExpr->isTypeDependent()) { in ActOnFinishCXXInClassMemberInitializer()
2719 ? InitializationKind::CreateDirectList(InitExpr->getLocStart()) in ActOnFinishCXXInClassMemberInitializer()
2720 : InitializationKind::CreateCopy(InitExpr->getLocStart(), InitLoc); in ActOnFinishCXXInClassMemberInitializer()
2721 InitializationSequence Seq(*this, Entity, Kind, InitExpr); in ActOnFinishCXXInClassMemberInitializer()
2722 Init = Seq.Perform(*this, Entity, Kind, InitExpr); in ActOnFinishCXXInClassMemberInitializer()
2738 InitExpr = Init.get(); in ActOnFinishCXXInClassMemberInitializer()
2740 FD->setInClassInitializer(InitExpr); in ActOnFinishCXXInClassMemberInitializer()