aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-05-06 00:23:44 +0000
committerSteve Naroff <snaroff@apple.com>2008-05-06 00:23:44 +0000
commita647caad2dec67ac25b763f06237cfe3c3968b51 (patch)
treea0844822a901daf2e4f08f0631488bb77b5aefd8 /lib/Sema/Sema.h
parent46e49eeb30626ec803a56e49302d1489a28bddb0 (diff)
Several fixes to SemaInit.cpp. It's still not enabled (since it fails a few tests). Expect to enable it very soon.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r--lib/Sema/Sema.h4
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);