From abbfa671539c74b5bec66a64964de984c908cdfa Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 8 May 2013 20:29:57 +0000 Subject: [PATCH] Turn off a warning caused by my last patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181464 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/CommentLexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AST/CommentLexer.cpp b/lib/AST/CommentLexer.cpp index a59badaeaf..b195d52e8e 100644 --- a/lib/AST/CommentLexer.cpp +++ b/lib/AST/CommentLexer.cpp @@ -355,7 +355,7 @@ void Lexer::lexCommentText(Token &T) { if (!Info) { formTokenWithChars(T, TokenPtr, tok::unknown_command); T.setUnknownCommandName(CommandName); - if (Info = Traits.getTypoCorrectCommandInfo(CommandName)) { + if ((Info = Traits.getTypoCorrectCommandInfo(CommandName))) { StringRef CorrectedName = Info->Name; SourceRange CommandRange(T.getLocation().getLocWithOffset(1), T.getEndLocation()); -- 2.40.0