OSDN Git Service

Changed the AsmParser to handle error messages itself
authorSean Callanan <scallanan@apple.com>
Wed, 20 Jan 2010 23:19:55 +0000 (23:19 +0000)
committerSean Callanan <scallanan@apple.com>
Wed, 20 Jan 2010 23:19:55 +0000 (23:19 +0000)
commitbf2013ee22e7684ed37e4b78fca6937f38247ae7
tree1c5f9f5eba4c6431b3f6051d464e34c98a37d241
parent8d77cc8c5f47f2dbab867441251f5df796b78a6e
Changed the AsmParser to handle error messages itself
rather than passing them off to the AsmLexer to handle.
This means the AsmLexer no longer requires a SourceMgr
to do error handling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94047 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-mc/AsmLexer.cpp
tools/llvm-mc/AsmLexer.h
tools/llvm-mc/AsmParser.cpp
tools/llvm-mc/AsmParser.h
tools/llvm-mc/llvm-mc.cpp