From d7e379b8d483cb653f46944eaed65ec019cee571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Dee=20=28J=C5=8Dshin=29?= Date: Thu, 20 Jun 2024 09:00:10 -0700 Subject: [PATCH] clang-format --- ctl/new.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ctl/new.h b/ctl/new.h index f227270ef..97fe85ef8 100644 --- a/ctl/new.h +++ b/ctl/new.h @@ -3,12 +3,11 @@ #ifndef COSMOPOLITAN_CTL_NEW_H_ #define COSMOPOLITAN_CTL_NEW_H_ -// XXX clang-format currently mutilates these for some reason. -// clang-format off - namespace ctl { -enum class align_val_t : size_t {}; +enum class align_val_t : size_t +{ +}; } // namespace ctl @@ -16,6 +15,10 @@ void* operator new(size_t); void* operator new[](size_t); void* operator new(size_t, ctl::align_val_t); void* operator new[](size_t, ctl::align_val_t); + +// XXX clang-format currently mutilates these for some reason. +// clang-format off + void* operator new(size_t, void*); void* operator new[](size_t, void*);