Follow-up to https://reviews.llvm.org/D142279 for also enabling libc++ assertions.
This is particularly useful to recover the assertion checks we had with llvm::Optional, before moving to std::optional.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think we should verify the performance impact to running tests is minimal before landing this, like they did with the _GLIBCXX_ASSERTIONS change. Also CCing @ldionne in case he has opinions on us using libc++ assertions. Otherwise LGTM.
Comment Actions
It isn't scientific but I did one timing of running the llvm & clang tests before this change and one timing running them after, and after took a bit less time, so probably this is lost in the noise.