[Lldb-commits] [lldb] r350262 - Try to fix Green Dragon bot.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 2 13:04:22 PST 2019


Author: zturner
Date: Wed Jan  2 13:04:22 2019
New Revision: 350262

URL: http://llvm.org/viewvc/llvm-project?rev=350262&view=rev
Log:
Try to fix Green Dragon bot.

It doesn't like this std::tie() for some reason, hopefuly this
fixes it.

Modified:
    lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp?rev=350262&r1=350261&r2=350262&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp Wed Jan  2 13:04:22 2019
@@ -367,8 +367,8 @@ void PdbAstBuilder::BuildParentMap() {
   std::vector<TypeIndex> full_keys;
   std::vector<TypeIndex> fwd_keys;
   for (auto &entry : m_parent_types) {
-    TypeIndex key, value;
-    std::tie(key, value) = entry;
+    TypeIndex key = entry.first;
+    TypeIndex value = entry.second;
 
     auto iter = forward_to_full.find(value);
     if (iter != forward_to_full.end())




More information about the lldb-commits mailing list