diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-27 17:42:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-27 17:42:11 +0000 |
commit | c758311025805d901b11695aa04148f2da3f307f (patch) | |
tree | 432f0f802e6154a89baab92a4588b7ee4420d43d /llvm/lib/AsmParser/LLLexer.h | |
parent | 23cb3716df6c15a895a3aa690f21db903cd0b9bd (diff) | |
download | bcm5719-llvm-c758311025805d901b11695aa04148f2da3f307f.tar.gz bcm5719-llvm-c758311025805d901b11695aa04148f2da3f307f.zip |
Push twines deeper into SourceMgr's error handling methods.
llvm-svn: 114847
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.h')
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.h b/llvm/lib/AsmParser/LLLexer.h index 70f1cfdbfd8..09ae8017f40 100644 --- a/llvm/lib/AsmParser/LLLexer.h +++ b/llvm/lib/AsmParser/LLLexer.h @@ -62,8 +62,8 @@ namespace llvm { const APFloat &getAPFloatVal() const { return APFloatVal; } - bool Error(LocTy L, const std::string &Msg) const; - bool Error(const std::string &Msg) const { return Error(getLoc(), Msg); } + bool Error(LocTy L, const Twine &Msg) const; + bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); } std::string getFilename() const; private: |