diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-05-22 10:24:42 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-05-22 10:24:42 +0000 |
commit | 12179bc014fe1edc7e9e6cca92ff93b1f321c9d1 (patch) | |
tree | 6502d19897781e20fc9b6366f6fe07deb0d55be6 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 5da1f0858748f39602a9b1f593f831afa3da7454 (diff) | |
download | bcm5719-llvm-12179bc014fe1edc7e9e6cca92ff93b1f321c9d1.tar.gz bcm5719-llvm-12179bc014fe1edc7e9e6cca92ff93b1f321c9d1.zip |
Handle correctly a very ugly part of the C++ syntax. We cannot disambiguate between a parenthesized type-id and
a paren expression without considering the context past the parentheses.
Behold:
(T())x; - type-id
(T())*x; - type-id
(T())/x; - expression
(T()); - expression
llvm-svn: 72260
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions