[PATCH] D48349: [ADT] Add llvm::unique_function which is like std::function but supporting move-only closures.
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 21 00:45:43 PDT 2018
chandlerc updated this revision to Diff 152230.
chandlerc added a comment.
Address comments from review, beefing up tests along the way to cover this
stuff much more carefully.
Also fixes several bugs uncovered with better testing and adds a missing
interface (bool conversion).
Repository:
rL LLVM
https://reviews.llvm.org/D48349
Files:
llvm/include/llvm/ADT/function.h
llvm/include/llvm/Support/Compiler.h
llvm/include/llvm/Support/PointerLikeTypeTraits.h
llvm/unittests/ADT/CMakeLists.txt
llvm/unittests/ADT/FunctionTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48349.152230.patch
Type: text/x-patch
Size: 16625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/1ff4c1b0/attachment.bin>
More information about the llvm-commits
mailing list