[PATCH] D149879: [MachineFunction][DebugInfo][nfc] Introduce EntryValue variable kind

Felipe de Azevedo Piovezan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 05:02:51 PDT 2023


fdeazeve added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/MachineFunction.h:1295
+  auto getInStackSlotVariableDbgInfo() const {
+    return make_filter_range(getVariableDbgInfo(), [](const auto &VarInfo) {
+      return VarInfo.inStackSlot();
----------------
aprantl wrote:
> this lambda is different from the one above in that it uses const auto
Unfortunately there isn't much we can do about that prior C++23's "deducing this" feature  :/
This is the `const` version of the function above


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149879



More information about the llvm-commits mailing list