commit | d8f586869a9ec1fcfe14d53045fc5b2de33ad5f9 | [log] [tgz] |
---|---|---|
author | Tim Shen <timshen91@gmail.com> | Wed Aug 10 17:52:09 2016 +0000 |
committer | Tim Shen <timshen91@gmail.com> | Wed Aug 10 17:52:09 2016 +0000 |
tree | 59035b822ee47604ee8070e7a5435ef6b5cab487 | |
parent | 9a1106c09e9beeb0f0f881b4ccab8b0879532124 [diff] |
[ADT] Add make_scope_exit(). Summary: make_scope_exit() is described in C++ proposal p0052r2, which uses RAII to do cleanup works at scope exit. Reviewers: chandlerc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D22796 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278251 91177308-0d34-0410-b5e6-96231b3b80d8