summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExpr.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-06-06 21:18:07 +0000
committerDouglas Gregor <dgregor@apple.com>2012-06-06 21:18:07 +0000
commit91c25eadea5f5d714f492c0cdb0e45226b0d62be (patch)
treeae259fe5445eb9ad46de2f43dd72a363ab953935 /clang/lib/Parse/ParseExpr.cpp
parent493ea635fe9963d1b8090394a705a90621ff6fa2 (diff)
downloadbcm5719-llvm-91c25eadea5f5d714f492c0cdb0e45226b0d62be.tar.gz
bcm5719-llvm-91c25eadea5f5d714f492c0cdb0e45226b0d62be.zip
Whenever we have a BalancedDelimiterTracker, we have a 'nested' scope
where '>' is going to behave as an operator (and not as a '>' closing a template argument list). llvm-svn: 158111
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r--clang/lib/Parse/ParseExpr.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp
index 6d31396cc01..2a1fba655ac 100644
--- a/clang/lib/Parse/ParseExpr.cpp
+++ b/clang/lib/Parse/ParseExpr.cpp
@@ -1888,7 +1888,6 @@ Parser::ParseParenExpression(ParenParseOption &ExprType, bool stopIfCastExpr,
bool isTypeCast, ParsedType &CastTy,
SourceLocation &RParenLoc) {
assert(Tok.is(tok::l_paren) && "Not a paren expr!");
- GreaterThanIsOperatorScope G(GreaterThanIsOperator, true);
BalancedDelimiterTracker T(*this, tok::l_paren);
if (T.consumeOpen())
return ExprError();
OpenPOWER on IntegriCloud