diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-29 05:27:40 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-29 05:27:40 +0000 |
commit | 675ea99a2a69e82159996035cc3279579531a9a2 (patch) | |
tree | 2faa3feafd8586acda8b159eb77d977d71416249 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | ad9e828c89bd51e5bd104aede1e08c05bc4a8491 (diff) | |
download | llvm-675ea99a2a69e82159996035cc3279579531a9a2.zip llvm-675ea99a2a69e82159996035cc3279579531a9a2.tar.gz llvm-675ea99a2a69e82159996035cc3279579531a9a2.tar.bz2 |
PR10101: Recover better from a common copy-paste error: if a function
declaration at namespace scope is followed by a semicolon and an open-brace
(or in C++, a 'try', ':' or '='), then the error is probably a function
definition with a spurious ';', rather than a mysterious '{'.
llvm-svn: 145372
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions