forked from OSchip/llvm-project
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:
parent
a8ff3b3528
commit
03b7b15f8e
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue