[libc-commits] [libc] [libc] Add stubs for 'langinfo.h' (PR #106620)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Aug 30 15:46:41 PDT 2024


================
@@ -0,0 +1,81 @@
+//===-- Definition of macros from langinfo.h ------------------------------===//
+//
+// 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_MACROS_LANGINFO_MACROS_H
+#define LLVM_LIBC_MACROS_LANGINFO_MACROS_H
+
+// TODO: Define these for the C locale.
----------------
michaelrj-google wrote:

If these are going to be hardcoded to the default locale, is it worthwhile to just set the obvious ones now? Like `AM_STR` is going to be `"AM"`, etc.

https://github.com/llvm/llvm-project/pull/106620


More information about the libc-commits mailing list