LLVM
8.0.1
|
#include "llvm/Demangle/Utility.h"
Public Member Functions | |
OutputStream (char *StartBuf, size_t Size) | |
OutputStream ()=default | |
void | reset (char *Buffer_, size_t BufferCapacity_) |
OutputStream & | operator+= (StringView R) |
OutputStream & | operator+= (char C) |
OutputStream & | operator<< (StringView R) |
OutputStream & | operator<< (char C) |
OutputStream & | operator<< (long long N) |
OutputStream & | operator<< (unsigned long long N) |
OutputStream & | operator<< (long N) |
OutputStream & | operator<< (unsigned long N) |
OutputStream & | operator<< (int N) |
OutputStream & | operator<< (unsigned int N) |
size_t | getCurrentPosition () const |
void | setCurrentPosition (size_t NewPos) |
char | back () const |
bool | empty () const |
char * | getBuffer () |
char * | getBufferEnd () |
size_t | getBufferCapacity () |
Public Attributes | |
unsigned | CurrentPackIndex = std::numeric_limits<unsigned>::max() |
If a ParameterPackExpansion (or similar type) is encountered, the offset into the pack that we're currently printing. More... | |
unsigned | CurrentPackMax = std::numeric_limits<unsigned>::max() |
Definition at line 64 of file Utility.h.
References OutputStream().
|
default |
Referenced by OutputStream().
|
inline |
Definition at line 130 of file Utility.h.
Referenced by outputSpaceIfNecessary(), llvm::itanium_demangle::TemplateArgs::printLeft(), and llvm::itanium_demangle::ArrayType::printRight().
|
inline |
Definition at line 134 of file Utility.h.
Referenced by outputSpaceIfNecessary().
|
inline |
Definition at line 136 of file Utility.h.
Referenced by decodeMultiByteChar(), llvm::ms_demangle::Demangler::dumpBackReferences(), llvm::ItaniumPartialDemangler::getFunctionDeclContextName(), llvm::ItaniumPartialDemangler::getFunctionParameters(), llvm::ItaniumPartialDemangler::getFunctionReturnType(), llvm::itaniumDemangle(), llvm::microsoftDemangle(), llvm::ms_demangle::Demangler::parseTagUniqueName(), printNode(), and llvm::ms_demangle::Node::toString().
|
inline |
Definition at line 127 of file Utility.h.
Referenced by llvm::ms_demangle::Demangler::dumpBackReferences(), llvm::ItaniumPartialDemangler::getFunctionDeclContextName(), llvm::ItaniumPartialDemangler::getFunctionParameters(), llvm::ItaniumPartialDemangler::getFunctionReturnType(), llvm::itaniumDemangle(), llvm::microsoftDemangle(), outputQualifiers(), llvm::itanium_demangle::ParameterPackExpansion::printLeft(), printNode(), and llvm::itanium_demangle::NodeArray::printWithComma().
|
inline |
Definition at line 78 of file Utility.h.
References StringView::begin(), llvm::Intrinsic::memmove, Size, and StringView::size().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 67 of file Utility.h.
Referenced by initializeOutputStream().
|
inline |
Definition at line 128 of file Utility.h.
Referenced by llvm::ms_demangle::Demangler::dumpBackReferences(), llvm::itanium_demangle::ParameterPackExpansion::printLeft(), and llvm::itanium_demangle::NodeArray::printWithComma().
If a ParameterPackExpansion (or similar type) is encountered, the offset into the pack that we're currently printing.
Definition at line 75 of file Utility.h.
Referenced by llvm::itanium_demangle::ParameterPack::getSyntaxNode(), llvm::itanium_demangle::ParameterPack::hasArraySlow(), llvm::itanium_demangle::ParameterPack::hasFunctionSlow(), llvm::itanium_demangle::ParameterPack::hasRHSComponentSlow(), llvm::itanium_demangle::ParameterPack::printLeft(), llvm::itanium_demangle::ParameterPackExpansion::printLeft(), and llvm::itanium_demangle::ParameterPack::printRight().
Definition at line 76 of file Utility.h.
Referenced by llvm::itanium_demangle::ParameterPackExpansion::printLeft().