aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2022-02-14 22:22:53 -0800
committerRiver Riddle <riddleriver@gmail.com>2022-03-03 16:14:03 -0800
commite865fa75308aa8dc103ed2ac559e678b5531fa30 (patch)
treeba47164db487f9fb1e2169fce5d01bdc5167410a /llvm/lib/Support/SourceMgr.cpp
parentdd29597e103cd13dd308fb68283fce9d3411f723 (diff)
downloadllvm-e865fa75308aa8dc103ed2ac559e678b5531fa30.zip
llvm-e865fa75308aa8dc103ed2ac559e678b5531fa30.tar.gz
llvm-e865fa75308aa8dc103ed2ac559e678b5531fa30.tar.bz2
[TableGen] Add a library-based entry point for parsing td files
This commit adds a new `TableGenParseFile` entry point for tablegen that parses an input buffer and invokes a callback function with a record keeper (notably without an output buffer). This kind of entry point is very useful for tablegen consuming tools that don't create output, and want invoke tablegen multiple times. The current way that we interact with tablegen is via relative includes to TGParser(not great). Differential Revision: https://reviews.llvm.org/D119899
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions