LLVM
8.0.1
|
'string' - Represent an string value More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
std::string | getAsString () const override |
bool | typeIsConvertibleTo (const RecTy *RHS) const override |
Return true if all values of 'this' type can be converted to the specified type. More... | |
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 | typeIsA (const RecTy *RHS) const |
Return true if 'this' type is equal to or a subtype of RHS. More... | |
ListRecTy * | getListTy () |
Returns the type representing list<this>. More... | |
Static Public Member Functions | |
static bool | classof (const RecTy *RT) |
static StringRecTy * | get () |
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... | |
Definition at line 183 of file Record.h.
References llvm::RecTy::getRecTyKind(), and llvm::RecTy::StringRecTyKind.
|
inlinestatic |
Definition at line 187 of file Record.h.
References llvm::RecTy::getAsString(), and llvm::RecTy::typeIsConvertibleTo().
Referenced by llvm::BinOpInit::getStrConcat(), isObjectStart(), and QualifiedNameOfImplicitName().
|
overridevirtual |
Implements llvm::RecTy.
Definition at line 114 of file Record.cpp.
Return true if all values of 'this' type can be converted to the specified type.
Reimplemented from llvm::RecTy.
Definition at line 118 of file Record.cpp.
References llvm::RecTy::CodeRecTyKind, llvm::RecTy::getRecTyKind(), and llvm::RecTy::StringRecTyKind.