EDSC: use llvm::function_ref instead of std::function
Region body constructors in EDSC now take a callback to the function that fills in the body. This callback is called immediately and not stored, so it is sufficient to pass a reference to it and avoid a potentially expensive copy. -- PiperOrigin-RevId: 250473793
Loading
Please sign in to comment