mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Silence Clang's -Wlogical-op-parentheses warning.
I'm not sure it's really worth expressing this as a range rather than 3 specific equalities, but it doesn't seem fundamentally wrong either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -678,7 +678,7 @@ lltok::Kind LLLexer::Lex0x() {
|
|||||||
CurPtr = TokStart + 2;
|
CurPtr = TokStart + 2;
|
||||||
|
|
||||||
char Kind;
|
char Kind;
|
||||||
if (CurPtr[0] >= 'K' && CurPtr[0] <= 'M' || CurPtr[0] == 'H') {
|
if ((CurPtr[0] >= 'K' && CurPtr[0] <= 'M') || CurPtr[0] == 'H') {
|
||||||
Kind = *CurPtr++;
|
Kind = *CurPtr++;
|
||||||
} else {
|
} else {
|
||||||
Kind = 'J';
|
Kind = 'J';
|
||||||
|
Reference in New Issue
Block a user