DeclPrinter used FunctionDecl::isThisDeclarationADefinition to decide if the decl requires a semicolon at the end. However, there are several methods without body (that require a semicolon) that are definitions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM! When you land, please be sure to add Fixes https://github.com/llvm/llvm-project/issues/62996 to the commit message so the issue is automatically closed (and it makes it easier for people doing code archeology later). Thanks!
error: aliases are not supported on darwin
Maybe create a different testcase that is not supported on Darwin?
This breaks tests on Mac: http://45.33.8.238/macm1/65934/step_7.txt
Please take a look and revert for now if it takes a while to fix.
Sry for breaking builds. Can someone please revert it, I am currently not at work.
Am 28.07.2023 20:27 schrieb Nico Weber via Phabricator <reviews@reviews.llvm.org>:
thakis added a comment.
This breaks tests on Mac: http://45.33.8.238/macm1/65934/step_7.txt
Please take a look and revert for now if it takes a while to fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156533/new/