After resolving several outstanding issues now is the time to mark it as
fully supported.
Details
- Reviewers
aaron.ballman cor3ntin royjacobson erichkeane - Group Reviewers
Restricted Project - Commits
- rGbba6ea8c2d56: [C++20] Claim full support for consteval again
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@cjdb has been running some GDB test suites against our compiler: I am wondering if we could ask him to try the consteval ones too before we set this?
A lot of that work is manual because I need to interpret LIT messages to know wether something is a config error (e.g. missing // expected-no-diagnostics), a difference in opinion between compilers (e.g. GCC says it's an error and Clang says it's a note, reporting diagnostics on different lines, etc.), or actually an error in Clang.
I won't have time to check this week, but perhaps next week if the test set isn't too large (failing that, I'll at least try to get you // expected-no-diagnostics for improved confidence). Does this timeframe seem acceptable?
That sounds perfect to me -- there's not a rush on defining the macro/updating the status page given that we're not near a release, so we can wait until we have more details. Thank you for the help, @cjdb!
@cjdb , how is this going? I've seen https://github.com/llvm/llvm-project/issues/62224, but no more issues with consteval label.
I haven't had time to invest in this recently, as I've been gearing up for an intern.
I think we should make sure to land this for clang 17. The rate of consteval bugs is no greater than that of any other feature at this point.
There is https://github.com/llvm/llvm-project/issues/62886 which seems quite ugly, but has a patch on review.
Otherwise I agree, I'm not seeing more consteval bugs than any others.
@aaron.ballman , @erichkeane wdyt about landing it?
The worst-case scenario is that we have to disable the status again. I can't give an estimate on when I'll finish, so this is fine to me based on available data.
I'd rather not claim support and then pull that back later (that increases confusion for users). That said, looking at the issues we have open for consteval in the issue tracker doesn't show any major issues that don't already have folks working on a fix for them. #62886 is the one that bothers me the most, but @Fznamznon already has a patch going for it that's progressing well. So I'm okay with landing this and claiming full support, but let's do that once the consteval operator bug is closed. WDYT?
https://github.com/llvm/llvm-project/issues/62886 has been fixed, I'm trying to figure out or at least reduce https://github.com/llvm/llvm-project/issues/60709 so it doesn't have headers included, but no progress so far.
I can add a note saying that the macro is now defined. Is somewhere under C++ Language Changes title the right place to do that?