|
|
|||
File indexing completed on 2026-05-10 08:44:29
0001 //===--- ConvertEBCDIC.h - UTF8/EBCDIC CharSet Conversion -------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 /// 0009 /// \file 0010 /// This file provides utility functions for converting between EBCDIC-1047 and 0011 /// UTF-8. 0012 /// 0013 /// 0014 //===----------------------------------------------------------------------===// 0015 0016 #include "llvm/ADT/SmallVector.h" 0017 #include "llvm/ADT/StringRef.h" 0018 #include <system_error> 0019 0020 namespace llvm { 0021 namespace ConverterEBCDIC { 0022 std::error_code convertToEBCDIC(StringRef Source, 0023 SmallVectorImpl<char> &Result); 0024 0025 void convertToUTF8(StringRef Source, SmallVectorImpl<char> &Result); 0026 0027 } // namespace ConverterEBCDIC 0028 } // namespace llvm
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|