LLVM
8.0.1
|
#include "TableGen/TGParser.h"
Public Member Functions | |
TGParser (SourceMgr &SrcMgr, ArrayRef< std::string > Macros, RecordKeeper &records) | |
bool | ParseFile () |
ParseFile - Main entrypoint for parsing a tblgen file. More... | |
bool | Error (SMLoc L, const Twine &Msg) const |
bool | TokError (const Twine &Msg) const |
const TGLexer::DependenciesMapTy & | getDependencies () const |
Definition at line 88 of file TGParser.h.
|
inline |
Definition at line 118 of file TGParser.h.
Definition at line 126 of file TGParser.h.
References llvm::PrintError().
|
inline |
Definition at line 133 of file TGParser.h.
References E, llvm::TGLexer::getDependencies(), llvm::LetRecord::Loc, Mode, llvm::LetRecord::Name, SetValue(), and llvm::Sched::Source.
Referenced by createDependencyFile().
bool llvm::TGParser::ParseFile | ( | ) |
ParseFile - Main entrypoint for parsing a tblgen file.
These parser routines return true on error, or false on success.
Referenced by llvm::TableGenMain().
Definition at line 130 of file TGParser.h.
References llvm::Error, and llvm::TGLexer::getLoc().