Always allow std::function to be copied.
Since its call operator is const but can modify the state of its underlying functor we cannot tell whether the copy is necessary or not. This avoids false positives. Reviewed-by: aaron.ballman, gribozavr2 Differential Revision: https://reviews.llvm.org/D89332
Loading
Please sign in to comment