[PATCH] D22796: [ADT] Add make_scope_exit().
Tim Shen via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 20:57:33 PDT 2016
timshen created this revision.
timshen added a reviewer: chandlerc.
timshen added a subscriber: llvm-commits.
make_scope_exit() is described in C++ proposal p0052r2, which uses RAII to do cleanup works at scope exit.
https://reviews.llvm.org/D22796
Files:
include/llvm/ADT/ScopeExit.h
unittests/ADT/CMakeLists.txt
unittests/ADT/ScopeExitTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22796.65467.patch
Type: text/x-patch
Size: 3278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/b15e3c1d/attachment.bin>
More information about the llvm-commits
mailing list