mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-12 09:41:26 +00:00
Parenthesized a logical expression.
This change fixes a warning on the ppc64be buildbot.
This commit is contained in:
parent
9caf12e849
commit
73f423e739
@ -67,7 +67,7 @@ FileRange syntax::Token::range(const SourceManager &SM,
|
||||
auto F = First.range(SM);
|
||||
auto L = Last.range(SM);
|
||||
assert(F.file() == L.file() && "tokens from different files");
|
||||
assert(F == L || F.endOffset() <= L.beginOffset() && "wrong order of tokens");
|
||||
assert((F == L || F.endOffset() <= L.beginOffset()) && "wrong order of tokens");
|
||||
return FileRange(F.file(), F.beginOffset(), L.endOffset());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user