]> granicus.if.org Git - clang/commit
Consumed Analysis: Change callable_when so that it can take a list of states
authorDeLesley Hutchins <delesley@google.com>
Fri, 4 Oct 2013 21:28:06 +0000 (21:28 +0000)
committerDeLesley Hutchins <delesley@google.com>
Fri, 4 Oct 2013 21:28:06 +0000 (21:28 +0000)
commit66540857c08de7f1be9bea48381548d3942cf9d1
treef7b37bfb773f09b0a81afe3745ae7702fb012b59
parent1cd6fab3930d5c058c201895654c6b0bd6ecb8c1
Consumed Analysis:  Change callable_when so that it can take a list of states
that a function can be called in.  This reduced the total number of annotations
needed and makes writing more complicated behaviour less burdensome.
Patch by chriswails@gmail.com.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191983 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/Consumed.h
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Analysis/Consumed.cpp
lib/Sema/AnalysisBasedWarnings.cpp
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/warn-consumed-analysis-strict.cpp
test/SemaCXX/warn-consumed-analysis.cpp
test/SemaCXX/warn-consumed-parsing.cpp
utils/TableGen/ClangAttrEmitter.cpp