[PATCH] D79616: [NFC][DwarfDebug] Avoid default capturing when using lambdas

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 01:02:34 PDT 2020


djtodoro added a comment.

> I'd consider pulling it out as a separate named function, or just removing the lambda entirely & adding a comment block describing the purpose of the code inline)

Thanks for the comment and explanation! A separate function makes sense to me.

I just reverted this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79616





More information about the llvm-commits mailing list