ΒΆbool TableGenParseFile(
llvm::SourceMgr& InputSrcMgr,
llvm::RecordKeeper& Records)
bool TableGenParseFile(
llvm::SourceMgr& InputSrcMgr,
llvm::RecordKeeper& Records)
Description
Parse the TableGen file defined within the main buffer of the given SourceMgr. On success, populates the provided RecordKeeper with the parsed records and returns false. On failure, returns true. NOTE: TableGen currently relies on global state within a given parser invocation, so this function is not thread-safe.
Declared at: llvm/include/llvm/TableGen/Parser.h:30
Parameters
- llvm::SourceMgr& InputSrcMgr
- llvm::RecordKeeper& Records