mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
clang-format
This commit is contained in:
parent
cf7a8ecbce
commit
d7e379b8d4
1 changed files with 7 additions and 4 deletions
11
ctl/new.h
11
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*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue