[llvm] r303394 - Fix another warning.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 16:30:51 PDT 2017


Author: zturner
Date: Thu May 18 18:30:51 2017
New Revision: 303394

URL: http://llvm.org/viewvc/llvm-project?rev=303394&view=rev
Log:
Fix another warning.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp?rev=303394&r1=303393&r2=303394&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp Thu May 18 18:30:51 2017
@@ -495,7 +495,7 @@ void CodeViewDebug::emitTypeInformation(
           CommentOS.str().drop_front(CommentPrefix.size() - 1).rtrim());
     }
     OS.EmitBinaryData(Record.str_data());
-  } while (B = Table.getNext(*B));
+  } while ((B = Table.getNext(*B)));
 }
 
 namespace {




More information about the llvm-commits mailing list