This patch checks that expected is loaded before it is used. Libc++ already does this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 39669 Build 39706: arc lint + arc unit
Event Timeline
Comment Actions
If we want to mark the LWG issue as being resolved for libc++, I think the test should be moved to the libc++ test suite. Otherwise, we're only assessing that libc++ implements LWG2426 on Clang.
Comment Actions
I don't agree. Clang implements this behavior, the fact that C++ chose to put std::atomic in the library rather than the language has more to do with C++ and less to do with implementation responsibility.
If making changes to libc++ won't change the output of this test, then having the test doesn't matter.
I've marked the LWG issue as complete in a separate commit, and I'm going to close this now.