]> granicus.if.org Git - clang/commit
Fix regression from r259622: the operand of an increment that is the operand of
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Feb 2016 18:48:43 +0000 (18:48 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Feb 2016 18:48:43 +0000 (18:48 +0000)
commit90efe0bfd6bf9887747c7b4c82b7917c0b066c78
tree4c3a0889c6db143ac808d8f34dc13bfc09cfc8c0
parenta855623a214ccd3e097033f0bb20836c66b9a1d6
Fix regression from r259622: the operand of an increment that is the operand of
a cast expression is not the operand of a cast expression itself, so if it's
parenthesized we need to form a ParenExpr not a ParenListExpr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259677 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseExpr.cpp
test/Parser/cxx-ambig-paren-expr.cpp