This is an archive of the discontinued LLVM Phabricator instance.

Explicitly keep track of temporaries during the consumed analysis.
ClosedPublic

Authored by klimek on May 7 2014, 4:21 AM.

Details

Reviewers
klimek
delesley
Summary

This makes the consumed analysis less dependent on the CFG layout and fixes
a bug where we wouldn't warn on an unconsumed value.

Diff Detail

Event Timeline

klimek updated this revision to Diff 9157.May 7 2014, 4:21 AM
klimek retitled this revision from to Explicitly keep track of temporaries during the consumed analysis..
klimek updated this object.
klimek edited the test plan for this revision. (Show Details)
klimek added a reviewer: delesley.
klimek added subscribers: alexmc, Unknown Object (MLST).
delesley edited edge metadata.May 7 2014, 9:03 AM

LGTM. Thanks for the patch!

klimek accepted this revision.May 25 2014, 1:35 AM
klimek added a reviewer: klimek.
This revision is now accepted and ready to land.May 25 2014, 1:35 AM
klimek closed this revision.May 25 2014, 1:35 AM