diff options
author | Sean Callanan <scallanan@apple.com> | 2010-01-20 23:19:55 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-01-20 23:19:55 +0000 |
commit | bf2013ee22e7684ed37e4b78fca6937f38247ae7 (patch) | |
tree | 1c5f9f5eba4c6431b3f6051d464e34c98a37d241 /tools/llvm-mc/AsmLexer.h | |
parent | 8d77cc8c5f47f2dbab867441251f5df796b78a6e (diff) |
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
Diffstat (limited to 'tools/llvm-mc/AsmLexer.h')
-rw-r--r-- | tools/llvm-mc/AsmLexer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llvm-mc/AsmLexer.h b/tools/llvm-mc/AsmLexer.h index c0b32232ab..cc40d3516e 100644 --- a/tools/llvm-mc/AsmLexer.h +++ b/tools/llvm-mc/AsmLexer.h @@ -61,8 +61,6 @@ public: /// EnterIncludeFile - Enter the specified file. This returns true on failure. bool EnterIncludeFile(const std::string &Filename); - void PrintMessage(SMLoc Loc, const std::string &Msg, const char *Type) const; - const MCAsmInfo &getMAI() const { return MAI; } private: |