diff options
Diffstat (limited to 'include/clang/Parse/Parser.h')
-rw-r--r-- | include/clang/Parse/Parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h index 47b1191818..bfb198eea1 100644 --- a/include/clang/Parse/Parser.h +++ b/include/clang/Parse/Parser.h @@ -445,8 +445,9 @@ private: ExprResult ParseSizeofAlignofExpression(); ExprResult ParseBuiltinPrimaryExpression(); - typedef llvm::SmallVector<ExprTy*, 8> ExprListTy; - typedef llvm::SmallVector<SourceLocation, 8> CommaLocsTy; + static const unsigned ExprListSize = 12; + typedef llvm::SmallVector<ExprTy*, ExprListSize> ExprListTy; + typedef llvm::SmallVector<SourceLocation, ExprListSize> CommaLocsTy; /// ParseExpressionList - Used for C/C++ (argument-)expression-list. bool ParseExpressionList(ExprListTy &Exprs, CommaLocsTy &CommaLocs); |