[libc-commits] [libc] [libc][wctype][codegen] Add generation script for conversion data (PR #170868)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Dec 5 16:30:48 PST 2025


================
@@ -0,0 +1,400 @@
+//===-- Auto-generated lower to upper case mappings table -------*- 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
+//
+//===----------------------------------------------------------------------===//
+// DO NOT EDIT MANUALLY.
+// This file is generated by libc/utils/wctype_utils scripts.
+// This file is meant to be included directly into LLVM libc code
+// Format: {from_codepoint, to_codepoint}
+// Info: 1458 entries
+
+{0x61, 0x41}, {0x62, 0x42}, {0x63, 0x43}, {0x64, 0x44}, {0x65, 0x45},
----------------
michaelrj-google wrote:

If you change this from raw data into a header defining a single variable it would be less confusing for `clang-format`.

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


More information about the libc-commits mailing list