summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-05-18 23:12:42 +0000
committerZachary Turner <zturner@google.com>2017-05-18 23:12:42 +0000
commit7b62d7ccc0914488d246cc7a929ed7dcfdeca768 (patch)
tree5a1257d645517f5389730bff3b9c5cfa51b5ccbf /llvm/lib/DebugInfo/CodeView
parentb32ec02b80bf3f321acf7b74a1a4e4ed7dc882bb (diff)
downloadbcm5719-llvm-7b62d7ccc0914488d246cc7a929ed7dcfdeca768.tar.gz
bcm5719-llvm-7b62d7ccc0914488d246cc7a929ed7dcfdeca768.zip
Fix some build errors and warnings.
llvm-svn: 303391
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
-rw-r--r--llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp b/llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
index b0f5378a2b7..035b2c0a6af 100644
--- a/llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
+++ b/llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
@@ -232,7 +232,7 @@ Error CVTypeVisitor::visitTypeStream(TypeCollection &Types) {
CVType Type = Types.getType(*I);
if (auto EC = visitTypeRecord(Type, *I))
return EC;
- } while (I = Types.getNext(*I));
+ } while ((I = Types.getNext(*I)));
return Error::success();
}
OpenPOWER on IntegriCloud