mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd: Mark explicit unreachables for clang's failure to elide dtors of noreturn constructed objects.
This commit is contained in:
parent
2f74142737
commit
809d01d7df
1 changed files with 10 additions and 0 deletions
10
ircd/db.cc
10
ircd/db.cc
|
@ -2597,6 +2597,8 @@ noexcept
|
|||
{
|
||||
"Unavailable for passthru"
|
||||
};
|
||||
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2637,6 +2639,8 @@ const noexcept
|
|||
{
|
||||
"Unavailable for passthru"
|
||||
};
|
||||
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2649,6 +2653,8 @@ noexcept
|
|||
{
|
||||
"Unavailable for passthru"
|
||||
};
|
||||
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2661,6 +2667,8 @@ const noexcept
|
|||
{
|
||||
"Unavailable for passthru"
|
||||
};
|
||||
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
uint64_t
|
||||
|
@ -2672,6 +2680,8 @@ noexcept
|
|||
{
|
||||
"Unavailable for passthru"
|
||||
};
|
||||
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue