[PATCH] D50197: [DebugInfo/DWARF] Try to make a loop more readable. NFC

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 13:19:45 PDT 2018


aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp:103
+      if (&(*InsertPt)->getInfoSection() != &Section ||
+          (*InsertPt)->getOffset() == Offset) {
+        ++InsertPt;
----------------
Is there a comment that could explain which case is being checked for here?


Repository:
  rL LLVM

https://reviews.llvm.org/D50197





More information about the llvm-commits mailing list