mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: suppress bugprone-reserved-identifier warnings
These are only used when running `make lintc` with ENABLE_ASAN_UBSAN enabled, which is why it wasn't caught by CI.
This commit is contained in:
parent
78239f0bbc
commit
26033eee1d
@ -2227,13 +2227,13 @@ static void check_swap_exists_action(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_ASAN_UBSAN
|
#ifdef ENABLE_ASAN_UBSAN
|
||||||
const char *__ubsan_default_options(void);
|
const char *__ubsan_default_options(void); // NOLINT(bugprone-reserved-identifier)
|
||||||
const char *__ubsan_default_options(void)
|
const char *__ubsan_default_options(void)
|
||||||
{
|
{
|
||||||
return "print_stacktrace=1";
|
return "print_stacktrace=1";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *__asan_default_options(void);
|
const char *__asan_default_options(void); // NOLINT(bugprone-reserved-identifier)
|
||||||
const char *__asan_default_options(void)
|
const char *__asan_default_options(void)
|
||||||
{
|
{
|
||||||
return "handle_abort=1,handle_sigill=1";
|
return "handle_abort=1,handle_sigill=1";
|
||||||
|
Loading…
Reference in New Issue
Block a user