diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-06-06 21:18:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-06-06 21:18:07 +0000 |
commit | c86c40b912e53fb11ff8f745ed616035b8b7259c (patch) | |
tree | efeb4991d75fad4fc94f9305a45a16edee07a1b3 /lib/Parse/ParseExprCXX.cpp | |
parent | 8d3607bf22a6a70acce3722a758f02d4ea84fc3a (diff) |
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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExprCXX.cpp')
-rw-r--r-- | lib/Parse/ParseExprCXX.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Parse/ParseExprCXX.cpp b/lib/Parse/ParseExprCXX.cpp index 715218448a..68eff7cf5f 100644 --- a/lib/Parse/ParseExprCXX.cpp +++ b/lib/Parse/ParseExprCXX.cpp @@ -1235,8 +1235,6 @@ Parser::ParseCXXTypeConstructExpression(const DeclSpec &DS) { MultiExprArg(&InitList, 1), SourceLocation()); } else { - GreaterThanIsOperatorScope G(GreaterThanIsOperator, true); - BalancedDelimiterTracker T(*this, tok::l_paren); T.consumeOpen(); |