mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-25 22:30:49 +08:00
Mark CrashWithoutDumping() as [[noreturn]]
No behavior change. Bug: none Change-Id: Ie838df830221a09d5401c6c73c8c889ea714940e Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5905738 Reviewed-by: Peter Boström <pbos@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org>
This commit is contained in:
parent
030fdeb26e
commit
032bcc92fb
@ -433,7 +433,7 @@ class CrashpadClient {
|
||||
//! FirstChanceHandler and crashes the current process.
|
||||
//!
|
||||
//! \param[in] message A message to be logged before crashing.
|
||||
static void CrashWithoutDump(const std::string& message);
|
||||
[[noreturn]] static void CrashWithoutDump(const std::string& message);
|
||||
|
||||
//! \brief The type for custom handlers installed by clients.
|
||||
using FirstChanceHandler = bool (*)(int, siginfo_t*, ucontext_t*);
|
||||
|
Loading…
x
Reference in New Issue
Block a user