[Lldb-commits] [lldb] 0648b3c - [lldb][NFC] for-range loop when iterating over delayed_properties

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 13 06:27:39 PDT 2021


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();
       }
     }
 


        


More information about the lldb-commits mailing list