summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-09-20 17:48:44 +0000
committerZachary Turner <zturner@google.com>2018-09-20 17:48:44 +0000
commit68f0eeff83985a767e2e26522f8978d90ae858a6 (patch)
treeec575573047687e71ea61a56a04332ee9795ef2e /llvm/lib
parent8a1227ccc8bd57096f6e7baac23bd7ad76653259 (diff)
downloadbcm5719-llvm-68f0eeff83985a767e2e26522f8978d90ae858a6.tar.gz
bcm5719-llvm-68f0eeff83985a767e2e26522f8978d90ae858a6.zip
Fix warnings.
llvm-svn: 342670
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp b/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp
index de0f888137f..311c3859acf 100644
--- a/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp
@@ -200,7 +200,6 @@ TpiStream::findFullDeclForForwardRef(TypeIndex ForwardRefTI) const {
if (!ForwardTRH)
return ForwardTRH.takeError();
- TagRecordHash Copy = std::move(*ForwardTRH);
uint32_t BucketIdx = ForwardTRH->FullRecordHash % Header->NumHashBuckets;
for (TypeIndex TI : HashMap[BucketIdx]) {
OpenPOWER on IntegriCloud