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 | fc368259af1a580b1843174cae3067d1b3c9aafc (patch) | |
tree | 2732d2c5da4cb77df8c39009f0077f78387c6382 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 362bf98ec68b63f8abcd347e48db2551436de75d (diff) | |
download | bcm5719-llvm-fc368259af1a580b1843174cae3067d1b3c9aafc.tar.gz bcm5719-llvm-fc368259af1a580b1843174cae3067d1b3c9aafc.zip |
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.
llvm-svn: 189843
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions