diff options
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 6375fad086..5541808ac9 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -902,7 +902,7 @@ class InitListChecker { void CheckImplicitInitList(InitListExpr *ParentIList, QualType T, unsigned &Index); - void CheckExplicitInitList(InitListExpr *IList, QualType T, + void CheckExplicitInitList(InitListExpr *IList, QualType &T, unsigned &Index); void CheckElementTypes(InitListExpr *IList, QualType &DeclType, @@ -912,7 +912,7 @@ class InitListChecker { unsigned &Index); void CheckVectorType(InitListExpr *IList, QualType DeclType, unsigned &Index); void CheckStructUnionTypes(InitListExpr *IList, QualType DeclType, - unsigned &Index); + unsigned &Index, bool topLevel = false); void CheckArrayType(InitListExpr *IList, QualType &DeclType, unsigned &Index); int numArrayElements(QualType DeclType); |