Skip to content
Commit 675ea99a authored by Richard Smith's avatar Richard Smith
Browse files

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
parent ad9e828c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment