This is an archive of the discontinued LLVM Phabricator instance.

Fixes and features for Consumed analysis
ClosedPublic

Authored by chriswailes on Aug 13 2013, 11:30 AM.

Details

Reviewers
dblaikie
delesley
Summary

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.

Diff Detail

Event Timeline

Other than whitespace issues, LGTM.

include/clang/Analysis/Analyses/Consumed.h
27

See if you can avoid making whitespace changes in your edits. Not so important here, but it is important when editing files originally written by others.

chriswailes updated this revision to Unknown Object (????).Aug 19 2013, 11:57 AM

Removed whitespace edits.

dblaikie accepted this revision.Apr 5 2014, 4:07 PM

Committed in 189059.

dblaikie closed this revision.Apr 5 2014, 4:08 PM