diff options
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index c489b1ea41..28a6bba7f4 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -3693,11 +3693,10 @@ public: bool CheckInitializerTypes(Expr *&simpleInit_or_initList, QualType &declType, const InitializedEntity &Entity, const InitializationKind &Kind); - bool CheckInitList(InitListExpr *&InitList, QualType &DeclType); + bool CheckInitList(const InitializedEntity &Entity, + InitListExpr *&InitList, QualType &DeclType); bool CheckForConstantInitializer(Expr *e, QualType t); - bool CheckValueInitialization(QualType Type, SourceLocation Loc); - // type checking C++ declaration initializers (C++ [dcl.init]). /// ReferenceCompareResult - Expresses the result of comparing two |