[libc-commits] [libc] [libc] implement `memalignment` (PR #132493)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Fri Mar 28 09:46:37 PDT 2025
================
@@ -0,0 +1,21 @@
+//===-- Implementation header for memalignment ------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_STDLIB_MEM_ALIGNMENT_H
+#define LLVM_LIBC_SRC_STDLIB_MEM_ALIGNMENT_H
+
+#include "src/__support/CPP/cstddef.h"
----------------
michaelrj-google wrote:
This should be `#include "hdr/types/size_t.h"`
https://github.com/llvm/llvm-project/pull/132493
More information about the libc-commits
mailing list