Author: Raphael Isemann
Date: 2021-10-13T15:27:23+02:00
New Revision: 0648b3c0265e74a6920ae356885d0c29a1f6a44e

URL: 
https://github.com/llvm/llvm-project/commit/0648b3c0265e74a6920ae356885d0c29a1f6a44e
DIFF: 
https://github.com/llvm/llvm-project/commit/0648b3c0265e74a6920ae356885d0c29a1f6a44e.diff

LOG: [lldb][NFC] for-range loop when iterating over delayed_properties

Added: 
    

Modified: 
    lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 
b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index bed3dcbe570de..0c6d80449affb 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -2147,10 +2147,8 @@ bool DWARFASTParserClang::CompleteRecordType(const 
DWARFDIE &die,
           return true;
         });
 
-        for (DelayedPropertyList::iterator pi = delayed_properties.begin(),
-                                           pe = delayed_properties.end();
-             pi != pe; ++pi)
-          pi->Finalize();
+        for (DelayedAddObjCClassProperty &property : delayed_properties)
+          property.Finalize();
       }
     }
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to