mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
AK: Remove unused architecture specific TODO macros
As far as I can tell those remained unused from the SerenityOS days
This commit is contained in:
committed by
Jelle Raaijmakers
parent
17d3b881d3
commit
c6046dfe0f
Notes:
github-actions[bot]
2025-11-07 10:30:06 +00:00
Author: https://github.com/cqundefine Commit: https://github.com/LadybirdBrowser/ladybird/commit/c6046dfe0f8 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6631 Reviewed-by: https://github.com/gmta ✅
@@ -20,11 +20,7 @@ extern "C" __attribute__((noreturn, noinline)) void ak_verification_failed(char
|
|||||||
: (void)0)
|
: (void)0)
|
||||||
#define VERIFY_NOT_REACHED() VERIFY(false) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
#define VERIFY_NOT_REACHED() VERIFY(false) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
||||||
static constexpr bool TODO = false;
|
static constexpr bool TODO = false;
|
||||||
#define TODO() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
#define TODO() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
||||||
#define TODO_AARCH64() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
|
||||||
#define TODO_RISCV64() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
|
||||||
#define TODO_PPC64() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
|
||||||
#define TODO_PPC() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
|
|
||||||
|
|
||||||
extern "C" __attribute__((noreturn, noinline)) void ak_assertion_failed(char const*);
|
extern "C" __attribute__((noreturn, noinline)) void ak_assertion_failed(char const*);
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user