LLVM  14.0.0git
Functions
RustDemangle.cpp File Reference
#include "llvm/Demangle/Demangle.h"
#include "llvm/Demangle/StringView.h"
#include "llvm/Demangle/Utility.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <limits>
Include dependency graph for RustDemangle.cpp:

Go to the source code of this file.

Functions

static bool isDigit (const char C)
 
static bool isHexDigit (const char C)
 
static bool isLower (const char C)
 
static bool isUpper (const char C)
 
static bool isValid (const char C)
 Returns true if C is a valid mangled character: <0-9a-zA-Z_>. More...
 
static bool parseBasicType (char C, BasicType &Type)
 
static bool isAsciiPrintable (uint64_t CodePoint)
 Returns true if CodePoint represents a printable ASCII character. More...
 

Function Documentation

◆ isAsciiPrintable()

static bool isAsciiPrintable ( uint64_t  CodePoint)
static

Returns true if CodePoint represents a printable ASCII character.

Definition at line 835 of file RustDemangle.cpp.

◆ isDigit()

static bool isDigit ( const char  C)
inlinestatic

◆ isHexDigit()

static bool isHexDigit ( const char  C)
inlinestatic

◆ isLower()

static bool isLower ( const char  C)
inlinestatic

Definition at line 212 of file RustDemangle.cpp.

Referenced by isValid().

◆ isUpper()

static bool isUpper ( const char  C)
inlinestatic

Definition at line 214 of file RustDemangle.cpp.

Referenced by isValid().

◆ isValid()

static bool isValid ( const char  C)
inlinestatic

◆ parseBasicType()

static bool parseBasicType ( char  C,
BasicType &  Type 
)
static

Definition at line 422 of file RustDemangle.cpp.

References llvm::pdb::Bool, U64, and llvm::MCID::Variadic.