From 613c29e45f8179c71d751e4e46b5706260d8b528 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 18 May 2017 23:30:51 +0000 Subject: Fix another warning. llvm-svn: 303394 --- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 7c2a7695718..ae14e000c38 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -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 { -- cgit v1.2.3