[llvm] Create a CharSetConverter class with both iconv and icu support (PR #74516)

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 18:25:37 PDT 2024


================
@@ -0,0 +1,288 @@
+//===-- CharSet.cpp - Characters sets conversion class ------------*- 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
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// This file provides utility classes to convert between different character
+/// set encoding.
----------------
hubert-reinterpretcast wrote:

Nit: grammar
```suggestion
/// This file provides utility classes to convert between different character
/// set encodings.
```

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


More information about the llvm-commits mailing list