Bump to Clang 19 (#2434)

This commit is contained in:
¥IGA 2025-02-18 14:55:13 +01:00 committed by GitHub
parent e67263cc0e
commit 8447412c77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 16 additions and 14 deletions

View file

@ -111,7 +111,7 @@ SignalDispatch::SignalDispatch() {
ASSERT_MSG(handle = AddVectoredExceptionHandler(0, SignalHandler),
"Failed to register exception handler.");
#else
struct sigaction action {};
struct sigaction action{};
action.sa_sigaction = SignalHandler;
action.sa_flags = SA_SIGINFO | SA_ONSTACK;
sigemptyset(&action.sa_mask);
@ -130,7 +130,7 @@ SignalDispatch::~SignalDispatch() {
#if defined(_WIN32)
ASSERT_MSG(RemoveVectoredExceptionHandler(handle), "Failed to remove exception handler.");
#else
struct sigaction action {};
struct sigaction action{};
action.sa_handler = SIG_DFL;
action.sa_flags = 0;
sigemptyset(&action.sa_mask);