[PATCH] D99560: Utility to construct visitors from lambdas.

Bakhtiyar Neyman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 23:53:42 PDT 2021


bakhtiyarneyman added a comment.

Regarding deriving from using other kinds of functors: I have not yet seen a need for this. My preference is to cross that bridge when we reach it. :)

Regarding taking references to the functors: I played around but on my first attempts the assembly seemed to have become scarier than without the references, so I decided not to push it further. Here's the evidence: https://godbolt.org/z/eoGKMW3jx


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99560



More information about the llvm-commits mailing list