parent
964202dac0
commit
8fd6ee1f2f
|
@ -299,9 +299,7 @@ static bool AvoidConcat(const LexerToken &PrevTok, const LexerToken &Tok,
|
||||||
// Avoid spelling identifiers, the most common form of token.
|
// Avoid spelling identifiers, the most common form of token.
|
||||||
FirstChar = II->getName()[0];
|
FirstChar = II->getName()[0];
|
||||||
} else if (Tok.getLength() < 256) {
|
} else if (Tok.getLength() < 256) {
|
||||||
const char *TokPtr = Buffer;
|
FirstChar = Buffer[0];
|
||||||
unsigned Len = PP.getSpelling(Tok, TokPtr);
|
|
||||||
FirstChar = TokPtr[0];
|
|
||||||
} else {
|
} else {
|
||||||
FirstChar = PP.getSpelling(Tok)[0];
|
FirstChar = PP.getSpelling(Tok)[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue