__assign_view__ is declared as a noexcept function in libcxx/include/__filesystem/path.h however internally it calls std::basic_string<char>::basic_string<char>(std::string_view) which is not a noexcept function this may lead to a std::terminate() call when allocation of a new string fails.
Details
Details
- Reviewers
Mordante - Group Reviewers
Restricted Project - Commits
- rG2dc6281b98d0: [libc++]Declaring '__asign_view__' as a non noexcept function
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks for your contribution, LGTM!
FYI @cor3ntin works on Clang not on libc++.
Can you update the commit message with a link to the bug fixed?
If you want somebody to commit this patch on your behalf can you provide your name and e-mail address?