LLVM  10.0.0svn
Public Member Functions | List of all members
NodeOrString Class Reference

#include "llvm/Demangle/ItaniumDemangle.h"

Public Member Functions

 NodeOrString (StringView Str)
 
 NodeOrString (Node *N)
 
 NodeOrString ()
 
bool isString () const
 
bool isNode () const
 
bool isEmpty () const
 
StringView asString () const
 
const NodeasNode () const
 

Detailed Description

Definition at line 610 of file ItaniumDemangle.h.

Constructor & Destructor Documentation

◆ NodeOrString() [1/3]

NodeOrString::NodeOrString ( StringView  Str)
inline

Definition at line 615 of file ItaniumDemangle.h.

References assert(), StringView::begin(), and StringView::end().

◆ NodeOrString() [2/3]

NodeOrString::NodeOrString ( Node N)
inline

Definition at line 626 of file ItaniumDemangle.h.

◆ NodeOrString() [3/3]

NodeOrString::NodeOrString ( )
inline

Definition at line 628 of file ItaniumDemangle.h.

Member Function Documentation

◆ asNode()

const Node* NodeOrString::asNode ( ) const
inline

Definition at line 640 of file ItaniumDemangle.h.

References assert().

Referenced by VectorType::printLeft(), and ArrayType::printRight().

◆ asString()

StringView NodeOrString::asString ( ) const
inline

Definition at line 634 of file ItaniumDemangle.h.

References assert().

Referenced by VectorType::printLeft(), and ArrayType::printRight().

◆ isEmpty()

bool NodeOrString::isEmpty ( ) const
inline

Definition at line 632 of file ItaniumDemangle.h.

◆ isNode()

bool NodeOrString::isNode ( ) const
inline

Definition at line 631 of file ItaniumDemangle.h.

Referenced by VectorType::printLeft(), and ArrayType::printRight().

◆ isString()

bool NodeOrString::isString ( ) const
inline

Definition at line 630 of file ItaniumDemangle.h.

Referenced by VectorType::printLeft(), and ArrayType::printRight().


The documentation for this class was generated from the following file: