mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 17:21:10 +00:00
Fix a -Wstring-plus-int warning.
Patch from Sean Silva <silvas@purdue.edu>! llvm-svn: 152030
This commit is contained in:
parent
27402c61c8
commit
b3ec7308b0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user