Pointed out by Chris!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117557
91177308-0d34-0410-b5e6-
96231b3b80d8
StringRef Name;
if (ParseIdentifier(Name))
- return TokError("expected identifier after '" + Twine(IDVal.str()) + "'");
+ return TokError("expected identifier after '" + Twine(IDVal) + "'");
if (getLexer().isNot(AsmToken::Comma))
- return TokError("unexpected token in '" + Twine(IDVal.str()) + "'");
+ return TokError("unexpected token in '" + Twine(IDVal) + "'");
Lex();
return ParseAssignment(Name);