diff options
Diffstat (limited to 'llvm/tools/llvm-mc/AsmLexer.h')
| -rw-r--r-- | llvm/tools/llvm-mc/AsmLexer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mc/AsmLexer.h b/llvm/tools/llvm-mc/AsmLexer.h index ce292f66b12..c0b32232abb 100644 --- a/llvm/tools/llvm-mc/AsmLexer.h +++ b/llvm/tools/llvm-mc/AsmLexer.h @@ -62,7 +62,9 @@ public: 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: int getNextChar(); AsmToken ReturnError(const char *Loc, const std::string &Msg); |

