Add parens around the boolean condition of one of the added asserts in r314747 ...

... in the hopes of teaching the bots the gift of silence ;)

For quick reference: https://reviews.llvm.org/rL314747




  

llvm-svn: 314753
This commit is contained in:
Faisal Vali 2017-10-03 01:33:36 +00:00
parent a8ff3b3528
commit 03b7b15f8e
1 changed files with 2 additions and 2 deletions

View File

@ -531,9 +531,9 @@ bool TokenLexer::pasteTokens(Token &Tok) {
bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream,
unsigned int &CurIdx) {
assert(CurIdx > 0 && "## can not be the first token within tokens");
assert(TokenStream[CurIdx].is(tok::hashhash) ||
assert((TokenStream[CurIdx].is(tok::hashhash) ||
(PP.getLangOpts().MSVCCompat &&
isWideStringLiteralFromMacro(LHSTok, TokenStream[CurIdx])) &&
isWideStringLiteralFromMacro(LHSTok, TokenStream[CurIdx]))) &&
"Token at this Index must be ## or part of the MSVC 'L "
"#macro-arg' pasting pair");