commit | 8d81c64923e9252543323665340f58a2e36312a7 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Sun Apr 02 01:45:07 2023 +0300 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 19 03:40:33 2023 -0700 |
tree | b6e8d7a4df6525d79cba528fa5d8dcf158471e08 | |
parent | 6f78e825aabfa25d5e2eec6569849bfaf33bf264 [diff] |
[libcxxabi] [test] Avoid mingw warnings about missing a return statement With current versions of mingw-w64 headers, code following assert(false) isn't considered unreachable - thus add a dummy "return nullptr;", to avoid warnings (treated as errors) for a missing return statement. The root cause does get fixed further upstream in mingw-w64 in https://github.com/mingw-w64/mingw-w64/commit/1690994f515910a31b9fb7c7bd3a52d4ba987abe though. Differential Revision: https://reviews.llvm.org/D147860 GitOrigin-RevId: f3ee6695e0f6232fee96e2e6ccd96e85ed682998