aboutsummaryrefslogtreecommitdiff
path: root/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sema/Sema.h')
-rw-r--r--Sema/Sema.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/Sema/Sema.h b/Sema/Sema.h
index 32a587c51a..c402baef94 100644
--- a/Sema/Sema.h
+++ b/Sema/Sema.h
@@ -740,16 +740,8 @@ private:
bool CheckSingleInitializer(Expr *&simpleInit, QualType declType);
bool CheckInitExpr(Expr *expr, InitListExpr *IList, unsigned slot,
QualType ElementType);
-
- void CheckVariableInitList(QualType DeclType, InitListExpr *IList,
- QualType ElementType,
- int &nInitializers, bool &hadError);
- void CheckConstantInitList(QualType DeclType, InitListExpr *IList,
- QualType ElementType,
- int &nInitializers, bool &hadError);
- bool CheckForCharArrayInitializer(InitListExpr *IList, QualType ElementType,
- int &nInitializers, bool isConstant,
- bool &hadError);
+ bool CheckInitializerListTypes(InitListExpr*& IList, QualType &DeclType,
+ bool topLevel, unsigned& startIndex);
bool CheckForConstantInitializer(Expr *e, QualType t);
StringLiteral *IsStringLiteralInit(Expr *Init, QualType DeclType);