LLVM  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::StringRecTy Class Reference

'string' - Represent an string value More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::StringRecTy:
Inheritance graph
Collaboration diagram for llvm::StringRecTy:
Collaboration graph

Public Member Functions

std::string getAsString () const override
- Public Member Functions inherited from llvm::RecTy
 RecTy (RecTyKind K)
virtual ~RecTy ()=default
RecTyKind getRecTyKind () const
void print (raw_ostream &OS) const
void dump () const
virtual bool typeIsConvertibleTo (const RecTy *RHS) const
 Return true if all values of 'this' type can be converted to the specified type. More...
ListRecTygetListTy ()
 Returns the type representing list<this>. More...

Static Public Member Functions

static bool classof (const RecTy *RT)
static StringRecTyget ()

Additional Inherited Members

- Public Types inherited from llvm::RecTy
enum  RecTyKind {
  BitRecTyKind, BitsRecTyKind, CodeRecTyKind, IntRecTyKind,
  StringRecTyKind, ListRecTyKind, DagRecTyKind, RecordRecTyKind
 Subclass discriminator (for dyn_cast<> et al.) More...

Detailed Description

'string' - Represent an string value

Definition at line 165 of file Record.h.

Member Function Documentation

◆ classof()

static bool llvm::StringRecTy::classof ( const RecTy RT)

◆ get()

static StringRecTy* llvm::StringRecTy::get ( )

Definition at line 176 of file Record.h.

References llvm::RecTy::getAsString().

Referenced by GetStrConcat(), isObjectStart(), and llvm::RecordVal::print().

◆ getAsString()

std::string StringRecTy::getAsString ( ) const

Implements llvm::RecTy.

Definition at line 100 of file Record.cpp.

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