summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-10-15 00:00:26 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-10-15 00:00:26 +0000
commitb79b17b67f2c0de8fd343fdd070e5ccbfe20d602 (patch)
treefb0a08c251e9b2e25a20724c7492562bdd4a00d9 /lib/CodeGen/CGExpr.cpp
parent89ca1fb13849f6e12dddc1ee562c5cd21ed9dd7a (diff)
downloadclang-b79b17b67f2c0de8fd343fdd070e5ccbfe20d602.tar.gz
clang-b79b17b67f2c0de8fd343fdd070e5ccbfe20d602.tar.bz2
clang-b79b17b67f2c0de8fd343fdd070e5ccbfe20d602.tar.xz
PR17567: Improve diagnostic for a mistyped constructor name. If we see something
that looks like a function declaration, except that it's missing a return type, try typo-correcting it to the relevant constructor name. In passing, fix a bug where the missing-type-specifier recovery codepath would drop a preceding scope specifier on the floor, leading to follow-on diagnostics and incorrect recovery for the auto-in-c++98 hack. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions