[cfe-dev] "expected function body" diagnostic rewording
echristo at apple.com
Sat Jul 10 16:59:17 PDT 2010
> While the clang diagnostic was a lot more helpful in pinpointing the
> actual error because it complained about the header instead of the
> source file including it, the diagnostic could be improved a bit by the
> - Change the wording from "error: expected function body after function
> declarator" to "error: expected function body or semicolon after
> function declarator/prototype".
> - Print the preceding code line as well because that's where the
> semicolon is missing.
I went ahead and just filed this:
More information about the cfe-dev