Several parts in the chrono synopsis for C++20 are not yet
implemented. The current recommendation is that things are added to the
synopsis when implemented -- not beforehand. As such, remove the
not-yet-implemented parts to avoid confusion.
Details
- Reviewers
ldionne • Quuxplusone Mordante - Group Reviewers
Restricted Project - Commits
- rGd081d75dc8fc: [libc++][NFC] Remove unimplemented parts of chrono synopsis
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@jloser Nothing to do with your patch. Normally we only add a synopsis when we implement that part of the code. That way it's possible to track our implementation status. Clearly we added a part of the synopsis that's not yet implemented.
I'm somewhat in doubt whether we should accept this patch or remove that part of the synopsis.
@ldionne WDYT?
For the record, I think we should just remove this part of the synopsis comment until it's been implemented. This was @mclow.lists in da77fe4a77485f5f4c4eb7f460554fc14e88d3b6 (July 2018); it's possible that back then the synopsis comment was more of a "to-do list" than a "done list." These days I agree with @Mordante's assessment.
I'm OK with removing this part of the synopsis instead. I'd vote that we remove *all* of the C++20-but-not-yet-implemented chrono parts in the synopsis then, such as time zone database, time zones, exception classes, parsing, etc (basically all of C++20 chrono stuff mentioned in the synopsis).
Agreed with the removal. I believe things changed and we now use the synopsis for a very clear purpose - back then I don't think we were as systematic with the way we'd use the synopsis comments.
Let's remove what's not implemented yet from the synopsis (this will also make it easier to figure out what we'd need to work on).
Accepting assuming what we all agree on will be implemented, not the current diff :-).
Thanks!
@ldionne @Quuxplusone @Mordante - I've updated this patch to remove the unimplemented parts of chrono from the synopsis. Please give it a look over to make sure everything seems OK. If so, I'll land it.
@ldionne are you happy with this? I know you approved before I even made the change - so just checking in. :)