[libc-commits] [libc] [libc] Implement vasprintf and asprintf (PR #98824)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Mon Jul 29 13:45:54 PDT 2024
================
@@ -0,0 +1,70 @@
+//===-- Internal Implementation of asprintf ---------------------*- 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/__support/OSUtil/io.h"
+#include "src/__support/arg_list.h"
+#include "src/stdio/printf.h"
+#include "src/stdio/printf_core/core_structs.h"
+#include "src/stdio/printf_core/printf_main.h"
+#include "src/stdio/printf_core/writer.h"
+#include <stdarg.h>
+#include <stdio.h>
----------------
michaelrj-google wrote:
I think you can remove this `#include <stdio.h>`
https://github.com/llvm/llvm-project/pull/98824
More information about the libc-commits
mailing list