LLVM 22.0.0git
|
This file provides utility classes to convert between different character encodings. More...
#include "llvm/Support/TextEncoding.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/ConvertEBCDIC.h"
#include <system_error>
Go to the source code of this file.
Functions | |
static void | normalizeCharSetName (StringRef CSName, SmallVectorImpl< char > &Normalized) |
static std::optional< TextEncoding > | getKnownEncoding (StringRef Name) |
static LLVM_ATTRIBUTE_UNUSED void | HandleOverflow (size_t &Capacity, char *&Output, size_t &OutputLength, SmallVectorImpl< char > &Result) |
This file provides utility classes to convert between different character encodings.
Definition in file TextEncoding.cpp.
|
static |
Definition at line 47 of file TextEncoding.cpp.
References llvm::SmallString< InternalLen >::equals(), Name, and normalizeCharSetName().
Referenced by llvm::TextEncodingConverter::create().
|
static |
Definition at line 58 of file TextEncoding.cpp.
|
static |
Definition at line 32 of file TextEncoding.cpp.
References isDigit(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by getKnownEncoding().