LLVM  6.0.0svn
Functions
llvm::sys::windows Namespace Reference

Functions

std::error_code UTF8ToUTF16 (StringRef utf8, SmallVectorImpl< wchar_t > &utf16)
 
std::error_code UTF16ToUTF8 (const wchar_t *utf16, size_t utf16_len, SmallVectorImpl< char > &utf8)
 
std::error_code UTF16ToCurCP (const wchar_t *utf16, size_t utf16_len, SmallVectorImpl< char > &utf8)
 Convert from UTF16 to the current code page used in the system. More...
 

Function Documentation

◆ UTF16ToCurCP()

std::error_code llvm::sys::windows::UTF16ToCurCP ( const wchar_t *  utf16,
size_t  utf16_len,
SmallVectorImpl< char > &  utf8 
)

Convert from UTF16 to the current code page used in the system.

◆ UTF16ToUTF8()

std::error_code llvm::sys::windows::UTF16ToUTF8 ( const wchar_t *  utf16,
size_t  utf16_len,
SmallVectorImpl< char > &  utf8 
)

◆ UTF8ToUTF16()

std::error_code llvm::sys::windows::UTF8ToUTF16 ( StringRef  utf8,
SmallVectorImpl< wchar_t > &  utf16 
)