[TableGen] Get depfile dependencies from SrcMgr instead of TGLexer. NFCI. (#240925)
TGLexer recorded the path of every included file in a set that was only
used by TableGenMain to write the -d dependency file. SrcMgr already has
this information: every buffer after the main file was added by an
include directive, and its identifier is the resolved path. Build the
dependency list from SrcMgr instead, and remove the set and its
accessors from TGLexer and TGParser.
The depfile contents are unchanged. This removes the last use of the
parser after parsing has finished.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>