[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
Mon Jul 2 15:57:09 PDT 2018
chandlerc updated this revision to Diff 153819.
chandlerc marked 2 inline comments as done.
chandlerc added a comment.
Minor fix from code review. Also adjusted the order of things in the private section of the class to be more readable by putting the two data members together.
Repository:
rL LLVM
https://reviews.llvm.org/D48349
Files:
llvm/include/llvm/ADT/FunctionExtras.h
llvm/include/llvm/Support/Compiler.h
llvm/include/llvm/Support/PointerLikeTypeTraits.h
llvm/unittests/ADT/CMakeLists.txt
llvm/unittests/ADT/FunctionExtrasTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48349.153819.patch
Type: text/x-patch
Size: 21820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180702/e2bc64d1/attachment-0001.bin>
More information about the llvm-commits
mailing list