Fix a -Wstring-plus-int warning.

Patch from Sean Silva <silvas@purdue.edu>!

llvm-svn: 152030
This commit is contained in:
Nico Weber 2012-03-05 15:48:34 +00:00
parent 27402c61c8
commit b3ec7308b0
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) {
// Comment out a whole run of tokens instead of bracketing each one with
// comments. Add a leading space if RawTok didn't have one.
bool HasSpace = RawTok.hasLeadingSpace();
RB.InsertTextAfter(RawOffs, " /*"+HasSpace);
RB.InsertTextAfter(RawOffs, &" /*"[HasSpace]);
unsigned EndPos;
do {