Skip to content

Commit c6046df

Browse files
cqundefinegmta
authored andcommitted
AK: Remove unused architecture specific TODO macros
As far as I can tell those remained unused from the SerenityOS days
1 parent 17d3b88 commit c6046df

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

AK/Assertions.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ extern "C" __attribute__((noreturn, noinline)) void ak_verification_failed(char
2020
: (void)0)
2121
#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 */
2222
static constexpr bool TODO = false;
23-
#define TODO() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
24-
#define TODO_AARCH64() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
25-
#define TODO_RISCV64() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
26-
#define TODO_PPC64() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
27-
#define TODO_PPC() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
23+
#define TODO() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
2824

2925
extern "C" __attribute__((noreturn, noinline)) void ak_assertion_failed(char const*);
3026
#ifndef NDEBUG

0 commit comments

Comments
 (0)