[PATCH] D106784: [ADT] function_ref captures function pointers by value

Sam McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 26 03:04:46 PDT 2021


sammccall added a comment.

I suppose this "breaks" using function_ref to capture by reference a function pointer that later gets reassigned. This doesn't seem very likely to be an issue?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106784



More information about the llvm-commits mailing list