When building in MSVC mode (in release mode), the assert(false) don't
make the end of the function unreachable, so add return statements to
silence compiler warnings (treated as errors).
Details
Details
- Reviewers
curdeius • Quuxplusone - Group Reviewers
Restricted Project - Commits
- rGb6c4b280a01f: [libcxx] [test] Add return values after assert(false) in some experimental tests
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Ship it! (Bonus points if you replace virtual by override in all cases; these tests are C++11-and-later-only.)