[#llvm-TableGenParseFile] = xref:llvm.adoc[llvm]::TableGenParseFile :relfileprefix: ../ :mrdocs: Parse the TableGen file from the main buffer of a SourceMgr. == Synopsis Declared in `<llvm/TableGen/Parser.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool TableGenParseFile( xref:llvm/SourceMgr.adoc[SourceMgr]& InputSrcMgr, xref:llvm/RecordKeeper.adoc[RecordKeeper]& Records); ---- == Description 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. == Return Value false on success, true on failure. == Parameters [cols="1,4"] |=== | Name| Description | *InputSrcMgr* | Source manager whose main buffer holds the TableGen file. | *Records* | Record keeper populated with the parsed records on success. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#