This patch fixes an inconsistency where we were using std::function in some places and function_ref in others to pass around the error handling callback.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
llvm::function_ref is more common and more efficient (std::function has a heap allocation). These callbacks are not supposed to be stored. LG