Displaying 1 result from an estimated 1 matches for "bd661e1b".
2015 Sep 28
3
SourceMgr lifespan
I've tried using SourceMgr in a parser to get the nice error reporting with
automatic line/column tracking, and it works well.
I'm thinking about extending that to try to get the nice error reporting in
subsequent type checking, and that leads to a question.
As I understand it, SourceMgr owns the memory buffers (be they allocated
chunks of memory, or memory mapped files) containing the