[PATCH] Fixes and features for Consumed analysis

Christian Wailes chriswailes at google.com
Mon Aug 19 11:57:03 PDT 2013


chriswailes added you to the CC list for the revision "Fixes and features for Consumed analysis".

Hi delesley, dblaikie,

This patch provides fixes to the code based on feedback, as well as a couple of new features:

* The same functionality is now supported for both CXXOperatorCallExprs and CXXMemberCallExprs.
* Factored out some code in the StmtVisitor.
* Removed unnecessary asserts from SemaDeclAttr.cpp
* Remove variables from the state map when their destructors are encountered.
* Re-use an existing warning for misplaced attributes.
* Started adding documentation for the consumed analysis attributes.

http://llvm-reviews.chandlerc.com/D1384

Files:
  docs/LanguageExtensions.rst
  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.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1384.2.patch
Type: text/x-patch
Size: 20089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130819/7f63c343/attachment.bin>


More information about the cfe-commits mailing list