[PATCH] D122033: [DebugInfo][NFC] Add a comment on the ordering of DILineInfo frames.

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 08:44:11 PDT 2022


tejohnson added inline comments.


================
Comment at: llvm/include/llvm/DebugInfo/DIContext.h:94
+  /// Returns the frame at `Index`. Frames are stored in bottom-up, i.e.
+  /// leaf-to-root order with increasing index.
   const DILineInfo &getFrame(unsigned Index) const {
----------------
Nit, missing comma after "leaf-to-root" to match prior comma. Or remove prior comma and put "i.e. leaf-to-root" in parentheses.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122033/new/

https://reviews.llvm.org/D122033



More information about the llvm-commits mailing list