[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:55 PDT 2024
================
@@ -0,0 +1,96 @@
+//===-- Unittests for vasprintf--------------------------------------------===//
+//
+// 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/stdio/sprintf.h"
+#include "src/stdio/vasprintf.h"
+#include "src/string/memset.h"
+#include "test/UnitTest/Test.h"
+#include <iostream>
----------------
michaelrj-google wrote:
same as above, remove `iostream`
https://github.com/llvm/llvm-project/pull/98824
More information about the libc-commits
mailing list