Home | History | Annotate | Download | only in Sema

Lines Matching refs:Initializer

818          && "List initialization must have initializer list as expression.");
864 // the initializer-list (with corrected type) back, but that's not what we
865 // want, since it will be treated as an initializer list in further
949 /// initializer-list syntax is used.
956 Declarator &D, Expr *Initializer) {
1002 if (ParenListExpr *List = dyn_cast_or_null<ParenListExpr>(Initializer))
1014 Initializer,
1047 Expr *Initializer,
1053 assert(Initializer && "Have parens but no initializer.");
1055 } else if (Initializer && isa<InitListExpr>(Initializer))
1058 // In template instantiation, the initializer could be a CXXDefaultArgExpr
1061 // occur for array new), so we throw the initializer away and have it be
1063 if (Initializer && isa<CXXDefaultArgExpr>(Initializer))
1064 Initializer = 0;
1065 assert((!Initializer || isa<ImplicitValueInitExpr>(Initializer) ||
1066 isa<CXXConstructExpr>(Initializer)) &&
1067 "Initializer expression that cannot have been implicitly created.");
1071 Expr **Inits = &Initializer;
1072 unsigned NumInits = Initializer ? 1 : 0;
1074 if (ParenListExpr *List = dyn_cast<ParenListExpr>(Initializer)) {
1077 } else if (CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Initializer)){
1300 // Initializer lists are also allowed, in C++11. Rely on the parser for the
1303 if (!isLegalArrayNewInitializer(initStyle, Initializer)) {
1309 if (InitListExpr *ILE = dyn_cast_or_null<InitListExpr>(Initializer)) {
1327 // - If the new-initializer is omitted, the object is default-
1332 // - Otherwise, the new-initializer is interpreted according to the
1348 // FullInit is our initializer; strip off CXXBindTemporaryExprs, because
1354 Initializer = FullInit.take();
1386 ArraySize, initStyle, Initializer,