summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-03-30 15:42:36 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-03-30 15:42:36 +0000
commit075759aaddb1daf9aa801fc75a0909c510081f6d (patch)
tree88e604bd3bfca09b26acf2438fff4a82a41b4de6 /llvm/lib/Target/Mips
parentbbe1756a8c55bb0195bcbe257cfff4b73d94c8ac (diff)
downloadbcm5719-llvm-075759aaddb1daf9aa801fc75a0909c510081f6d.tar.gz
bcm5719-llvm-075759aaddb1daf9aa801fc75a0909c510081f6d.zip
Remove more superfluous .str() and replace std::string concatenation with Twine.
Following r233392, http://llvm.org/viewvc/llvm-project?rev=233392&view=rev. llvm-svn: 233555
Diffstat (limited to 'llvm/lib/Target/Mips')
-rw-r--r--llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 6401bc1719c..80cd26fc98e 100644
--- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
@@ -2571,7 +2571,7 @@ bool MipsAsmParser::parseRelocOperand(const MCExpr *&Res) {
if (Tok.isNot(AsmToken::Identifier))
return true;
- std::string Str = Tok.getIdentifier().str();
+ std::string Str = Tok.getIdentifier();
Parser.Lex(); // Eat the identifier.
// Now make an expression from the rest of the operand.
OpenPOWER on IntegriCloud