diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-07-28 18:22:12 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-07-28 18:22:12 +0000 |
| commit | 5dc055350ead45dca64b5e6d542569baab330b35 (patch) | |
| tree | f421942ca00ea39bddbfd4182ca92fcd639f9c2c /clang/lib/Parse/ParseExprCXX.cpp | |
| parent | 59fba9d2b92b401b4937c5123490e071000ca596 (diff) | |
| download | bcm5719-llvm-5dc055350ead45dca64b5e6d542569baab330b35.tar.gz bcm5719-llvm-5dc055350ead45dca64b5e6d542569baab330b35.zip | |
The grammar for GNU typeof in C requires an expression to be
parenthesized, unlike in C++, e.g.,
C has: typeof ( expression)
C++ has: typeof unary-expression
So, once we've parsed a parenthesized expression after typeof, we
should only go on to parse the postfix expression suffix if we're in
C++. Fixes <rdar://problem/8237491>.
llvm-svn: 109606
Diffstat (limited to 'clang/lib/Parse/ParseExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions

