]> granicus.if.org Git - clang/commit
The pre-increment/pre-decrement grammar in C++ differs from that in C,
authorDouglas Gregor <dgregor@apple.com>
Fri, 6 Aug 2010 14:50:36 +0000 (14:50 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 6 Aug 2010 14:50:36 +0000 (14:50 +0000)
commitd42066343b3bda72362178e7ece78b9afb709e17
treef8521b49703e59b1c3d7c3fe0abd2e9ba133c271
parentcaadc127fef2a5ce5dddae0d3ac6a582c285baff
The pre-increment/pre-decrement grammar in C++ differs from that in C,
but we were parsing the C grammar. Handle the C++ grammar
appropriately. Fixes PR7794.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110445 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseExpr.cpp
test/SemaCXX/increment-decrement.cpp [moved from test/SemaCXX/inc-decrement-qualifiers.cpp with 84% similarity]