LLVM  8.0.1
Public Member Functions | List of all members
llvm::itanium_demangle::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 599 of file ItaniumDemangle.h.

Constructor & Destructor Documentation

◆ NodeOrString() [1/3]

llvm::itanium_demangle::NodeOrString::NodeOrString ( StringView  Str)
inline

Definition at line 604 of file ItaniumDemangle.h.

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

◆ NodeOrString() [2/3]

llvm::itanium_demangle::NodeOrString::NodeOrString ( Node N)
inline

Definition at line 615 of file ItaniumDemangle.h.

◆ NodeOrString() [3/3]

llvm::itanium_demangle::NodeOrString::NodeOrString ( )
inline

Definition at line 617 of file ItaniumDemangle.h.

Member Function Documentation

◆ asNode()

const Node* llvm::itanium_demangle::NodeOrString::asNode ( ) const
inline

◆ asString()

StringView llvm::itanium_demangle::NodeOrString::asString ( ) const
inline

◆ isEmpty()

bool llvm::itanium_demangle::NodeOrString::isEmpty ( ) const
inline

Definition at line 621 of file ItaniumDemangle.h.

◆ isNode()

bool llvm::itanium_demangle::NodeOrString::isNode ( ) const
inline

◆ isString()

bool llvm::itanium_demangle::NodeOrString::isString ( ) const
inline

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