diff options
Diffstat (limited to 'clang/include/clang/Parse/Parser.h')
| -rw-r--r-- | clang/include/clang/Parse/Parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h index 47b11918182..bfb198eea15 100644 --- a/clang/include/clang/Parse/Parser.h +++ b/clang/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); |

