r181464 - Turn off a warning caused by my last patch.

Fariborz Jahanian fjahanian at apple.com
Wed May 8 13:29:57 PDT 2013


Author: fjahanian
Date: Wed May  8 15:29:57 2013
New Revision: 181464

URL: http://llvm.org/viewvc/llvm-project?rev=181464&view=rev
Log:
Turn off a warning caused by my last patch.

Modified:
    cfe/trunk/lib/AST/CommentLexer.cpp

Modified: cfe/trunk/lib/AST/CommentLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CommentLexer.cpp?rev=181464&r1=181463&r2=181464&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentLexer.cpp (original)
+++ cfe/trunk/lib/AST/CommentLexer.cpp Wed May  8 15:29:57 2013
@@ -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());





More information about the cfe-commits mailing list