[all-commits] [llvm/llvm-project] 1b5a60: [JITLink] Use unique_function rather than std::fun...
lhames via All-commits
all-commits at lists.llvm.org
Thu Mar 9 20:03:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b5a60511234b28aa05e552bf9d8c609659e060b
https://github.com/llvm/llvm-project/commit/1b5a60511234b28aa05e552bf9d8c609659e060b
Author: Lang Hames <lhames at gmail.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
Log Message:
-----------
[JITLink] Use unique_function rather than std::function for JITLink passes.
Passes aren't expected to be copied, and switching to unique_function allows
them to capture values with move-only types.
More information about the All-commits
mailing list