LLVM 20.0.0git
Functions
RustDemangle.cpp File Reference
#include "llvm/Demangle/Demangle.h"
#include "llvm/Demangle/StringViewExtras.h"
#include "llvm/Demangle/Utility.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <limits>
#include <string_view>

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_>.
 
static bool parseBasicType (char C, BasicType &Type)
 
static bool isAsciiPrintable (uint64_t CodePoint)
 Returns true if CodePoint represents a printable ASCII character.
 

Function Documentation

◆ isAsciiPrintable()

static bool isAsciiPrintable ( uint64_t  CodePoint)
static

Returns true if CodePoint represents a printable ASCII character.

Definition at line 799 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

◆ isUpper()

static bool isUpper ( const char  C)
inlinestatic

Definition at line 178 of file RustDemangle.cpp.

References llvm::CallingConv::C.

Referenced by isValid().

◆ isValid()

static bool isValid ( const char  C)
inlinestatic

◆ parseBasicType()

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

Definition at line 386 of file RustDemangle.cpp.

References llvm::CallingConv::C.