diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-09 21:04:56 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-09 21:04:56 +0000 |
commit | f02da89d7bddc319be52605d36442518647116b4 (patch) | |
tree | 902ae3068a50f08402a64e7b5f54f1d5b4d432cd /lib/Parse/ParseExpr.cpp | |
parent | 668bf91d31265b6ea8c3eb854ba450857701f269 (diff) |
Implement Sebastian's idea for simplifying our handling of the greater-than operator/delimiter. Also, clean up after ourselves following a failed parse of a template-argument-list
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index 0f04d13f6e..f7eeef7556 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -1112,7 +1112,7 @@ Parser::OwningExprResult Parser::ParseParenExpression(ParenParseOption &ExprType, TypeTy *&CastTy, SourceLocation &RParenLoc) { assert(Tok.is(tok::l_paren) && "Not a paren expr!"); - MakeGreaterThanAnOperator G(GreaterThanIsOperator); + GreaterThanIsOperatorScope G(GreaterThanIsOperator, true); SourceLocation OpenLoc = ConsumeParen(); OwningExprResult Result(Actions, true); CastTy = 0; |