Fix another warning.
authorZachary Turner <zturner@google.com>
Thu, 18 May 2017 23:30:51 +0000 (23:30 +0000)
committerZachary Turner <zturner@google.com>
Thu, 18 May 2017 23:30:51 +0000 (23:30 +0000)
llvm-svn: 303394

llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

index 7c2a769..ae14e00 100644 (file)
@@ -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 {