diff options
| author | DeLesley Hutchins <delesley@google.com> | 2013-09-03 20:11:38 +0000 |
|---|---|---|
| committer | DeLesley Hutchins <delesley@google.com> | 2013-09-03 20:11:38 +0000 |
| commit | 0e8534efc3c536795ede0128aed86a6b8ad53ab7 (patch) | |
| tree | 3704fe6b5f8ed5c1712122085805dc3ff3ff92d5 /lib/CodeGen/CGExpr.cpp | |
| parent | 5c62d575a179ef26fb93a95c297431c08daccd19 (diff) | |
| download | clang-0e8534efc3c536795ede0128aed86a6b8ad53ab7.tar.gz clang-0e8534efc3c536795ede0128aed86a6b8ad53ab7.tar.bz2 clang-0e8534efc3c536795ede0128aed86a6b8ad53ab7.tar.xz | |
Consumed analysis: add return_typestate attribute.
Patch by chris.wailes@gmail.com
Functions can now declare what state the consumable type the are returning will
be in. This is then used on the caller side and checked on the callee side.
Constructors now use this attribute instead of the 'consumes' attribute.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
