summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2014-01-15 01:53:39 +0000
committerSerge Pavlov <sepavloff@gmail.com>2014-01-15 01:53:39 +0000
commit44f1206f4304161eb6ea96c9fd000c1e42f932e2 (patch)
treeb5377df4347c81eee3d5e65bbda98d4876a80fce /lib/CodeGen/CodeGenFunction.cpp
parentb13e4cc99ed63a38db9a72b2d84af882ac7172cf (diff)
downloadclang-44f1206f4304161eb6ea96c9fd000c1e42f932e2.tar.gz
clang-44f1206f4304161eb6ea96c9fd000c1e42f932e2.tar.bz2
clang-44f1206f4304161eb6ea96c9fd000c1e42f932e2.tar.xz
Fixed error recovery if sizeof is used without parenthesis
Changes made in r192200 fixed PR16992, which requested fixit suggesting parenthesis if sizeof is followed by type-id. However expression in form T() followed by ')' was incorrectly considered as a type-id if 'T' is typedef name. This change fixes this case. Differential Revision: http://llvm-reviews.chandlerc.com/D2440 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions