Home | History | Annotate | Download | only in Sema

Lines Matching refs:Initializer

743       // within a default initializer - so use the enclosing class as 'this'.
919 && "List initialization must have initializer list as expression.");
966 // the initializer-list (with corrected type) back, but that's not what we
967 // want, since it will be treated as an initializer list in further
1049 /// \param Initializer The initializing expression or initializer-list, or null
1055 Declarator &D, Expr *Initializer) {
1116 if (ParenListExpr *List = dyn_cast_or_null<ParenListExpr>(Initializer))
1128 Initializer,
1161 Expr *Initializer,
1168 assert(Initializer && "Have parens but no initializer.");
1170 } else if (Initializer && isa<InitListExpr>(Initializer))
1173 assert((!Initializer || isa<ImplicitValueInitExpr>(Initializer) ||
1174 isa<CXXConstructExpr>(Initializer)) &&
1175 "Initializer expression that cannot have been implicitly created.");
1179 Expr **Inits = &Initializer;
1180 unsigned NumInits = Initializer ? 1 : 0;
1181 if (ParenListExpr *List = dyn_cast_or_null<ParenListExpr>(Initializer)) {
1187 // Determine whether we've already built the initializer.
1189 if (Initializer && isa<CXXConstructExpr>(Initializer) &&
1190 !isa<CXXTemporaryObjectExpr>(Initializer))
1192 else if (Initializer && isa<ImplicitValueInitExpr>(Initializer))
1460 // Initializer lists are also allowed, in C++11. Rely on the parser for the
1463 if (!isLegalArrayNewInitializer(initStyle, Initializer)) {
1469 if (InitListExpr *ILE = dyn_cast_or_null<InitListExpr>(Initializer)) {
1490 // - If the new-initializer is omitted, the object is default-
1495 // - Otherwise, the new-initializer is interpreted according to the
1511 // FullInit is our initializer; strip off CXXBindTemporaryExprs, because
1517 Initializer = FullInit.get();
1553 ArraySize, initStyle, Initializer, ResultType, AllocTypeInfo,
5791 // - if the variable and its initializer are non-dependent, then
5793 // - if the initializer is not value dependent - we can determine whether
5797 // - FXIME: if the initializer is dependent, we can still do some analysis and
5806 // If there is no initializer - this can not be a constant expression.
5817 // initializer is a potential constant expression.