summaryrefslogtreecommitdiffstats
path: root/clang/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r--clang/Sema/Sema.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index 234fc157d87..4c9f4788f8e 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -684,7 +684,10 @@ private:
void CheckConstantInitList(QualType DeclType, InitListExpr *IList,
QualType ElementType, bool isStatic,
int &nInitializers, bool &hadError);
-
+ bool CheckForCharArrayInitializer(InitListExpr *IList, QualType ElementType,
+ int &nInitializers, bool isConstant,
+ bool &hadError);
+
// CheckVectorCast - check type constraints for vectors.
// Since vectors are an extension, there are no C standard reference for this.
// We allow casting between vectors and integer datatypes of the same size.
OpenPOWER on IntegriCloud