Methods synthesized from declared properties were being added to the
method lists twice. This came from the change to list them in the
class's method list, which missed removing the place in CGObjCGNU that
added them again.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This was caught with the GNUstep runtime's test suite, which apparently had not been run with anything newer than clang 8 until recently. With this patch, all of the runtime's tests now pass again (a few others failed in 10 but appear to have been fixed in 11 or 12). We've now configured our CI to test with the nightly builds on Linux, so should catch these things sooner in the future.
Comment Actions
I'd like to get this into the 11 point release, so it would be good to have a review...
Comment Actions
Functionally LGTM. I don't know if 11 is still taking changes, but if it is, you have code-owner approval.
clang/test/CodeGenObjC/gnu-method-only-once.m | ||
---|---|---|
9 | Comment trails off. Not sure the bug history is necessary here; you could just make this part of the commit message. |
Comment trails off. Not sure the bug history is necessary here; you could just make this part of the commit message.