Moved handling of inclusion from the AsmLexer to

the AsmParser, breaking AsmLexer's dependence on
SourceMgr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Callanan
2010-01-21 00:19:58 +00:00
parent 0527344853
commit fd0b0288e2
5 changed files with 61 additions and 56 deletions

View File

@ -134,7 +134,7 @@ static int AsLexInput(const char *ProgName) {
const MCAsmInfo *MAI = TheTarget->createAsmInfo(TripleName);
assert(MAI && "Unable to create target asm info!");
AsmLexer Lexer(SrcMgr, *MAI);
AsmLexer Lexer(*MAI);
bool Error = false;