]> granicus.if.org Git - clang/commit
Consumed analysis: add two new attributes which fine-tune the behavior of
authorDeLesley Hutchins <delesley@google.com>
Tue, 14 Jan 2014 00:36:53 +0000 (00:36 +0000)
committerDeLesley Hutchins <delesley@google.com>
Tue, 14 Jan 2014 00:36:53 +0000 (00:36 +0000)
commit95c2c2906585ac1060a157d1881e8b990045620e
tree205f6c5ebe6604951c83495cb4a8ae0665adcbf6
parent8477f60525ea1382590ddc308b2858c7ad653b62
Consumed analysis: add two new attributes which fine-tune the behavior of
consumable objects.  These are useful for implementing error codes that
must be checked.  Patch also includes some significant refactoring, which was
necesary to implement the new behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199169 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/Analysis/Consumed.cpp
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/warn-consumed-analysis.cpp
test/SemaCXX/warn-consumed-parsing.cpp