[PATCH] D49173: [DebugInfo] Make children iterator bidirectional

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 08:12:25 PDT 2018


JDevlieghere updated this revision to Diff 155003.
JDevlieghere added a comment.

- Remove null check so we can iterate backwards from the end iterator.


https://reviews.llvm.org/D49173

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
  llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
  llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49173.155003.patch
Type: text/x-patch
Size: 6804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180711/5daf5e08/attachment.bin>


More information about the llvm-commits mailing list