commit | 476d8b863cb65b2b5833235d97315cdb46e6f5aa | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Aug 11 14:47:12 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Aug 11 14:47:12 2010 +0000 |
tree | 6bd2225456dbb838c553754b5d4a39c1bec05b72 | |
parent | 7f1c547ee6cd413845f7df9713c701f99866f91d [diff] [blame] |
Random temporary string cleanup. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110807 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/TokenLexer.cpp b/lib/Lex/TokenLexer.cpp index 5560949..49dc016 100644 --- a/lib/Lex/TokenLexer.cpp +++ b/lib/Lex/TokenLexer.cpp
@@ -492,7 +492,7 @@ PP.Diag(Loc, PP.getLangOptions().Microsoft ? diag::err_pp_bad_paste_ms : diag::err_pp_bad_paste) - << std::string(Buffer.begin(), Buffer.end()); + << Buffer.str(); } // Do not consume the RHS.