projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove more superfluous .str() and replace std::string concatenation with Twine.
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
AsmParser
/
MipsAsmParser.cpp
diff --git
a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 6401bc1719c191c6bb74618599555992a133f201..80cd26fc98ec4df2c7b906f48b8433aa98e158bc 100644
(file)
--- a/
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ b/
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.