Author: faisalv Date: Mon Oct 2 18:33:36 2017 New Revision: 314753 URL: http://llvm.org/viewvc/llvm-project?rev=314753&view=rev Log: 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 Modified: cfe/trunk/lib/Lex/TokenLexer.cpp Modified: cfe/trunk/lib/Lex/TokenLexer.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/TokenLexer.cpp?rev=314753&r1=314752&r2=314753&view=diff ============================================================================== --- cfe/trunk/lib/Lex/TokenLexer.cpp (original) +++ cfe/trunk/lib/Lex/TokenLexer.cpp Mon Oct 2 18:33:36 2017 @@ -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"); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits