File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ basic_string_view/(a)
168
168
static constexpr size_type npos = size_type (-1 );
169
169
170
170
private:
171
- [[noreturn, safety::panic (panic_code::generic)]]
171
+ [[noreturn, noinline, safety::panic (panic_code::generic)]]
172
172
static
173
173
void panic_impl (string_constant<char > msg, source_location loc = source_location::current ()) safe
174
174
{
@@ -437,7 +437,7 @@ auto operator""sv2(wchar_t const* p, std::size_t len) noexcept safe -> wstring_v
437
437
// Panic functions are categorized and marked with an safety::panic(N) attribute.
438
438
// This makes it easy for the frontend to toggle on or off panic calls on a
439
439
// per-file basis.
440
- [[noreturn, safety::panic(panic_code::generic)]]
440
+ [[noreturn, noinline, safety::panic(panic_code::generic)]]
441
441
inline void panic (
442
442
str msg, source_location loc = source_location::current()) noexcept safe
443
443
{
@@ -455,7 +455,7 @@ inline void panic(
455
455
}
456
456
}
457
457
458
- [[noreturn, safety::panic(panic_code::bounds)]]
458
+ [[noreturn, noinline, safety::panic(panic_code::bounds)]]
459
459
inline void panic_bounds (
460
460
str msg, source_location loc = source_location::current()) noexcept safe
461
461
{
You can’t perform that action at this time.
0 commit comments