Parenthesized a logical expression.

This change fixes a warning on the ppc64be buildbot.
This commit is contained in:
Dmitri Gribenko 2019-12-20 14:35:10 +01:00
parent 9caf12e849
commit 73f423e739

View File

@ -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());
}