This is an archive of the discontinued LLVM Phabricator instance.

Code de-duplication in Consumed analysis
ClosedPublic

Authored by chris.wailes on Oct 22 2013, 3:41 PM.

Details

Summary

Several locations in Consumed.cpp duplicated the functionality of the forwardInfo function. The code was replaced with a call to forwardInfo.

A test was also added to make sure that an invalid pointer wasn't dereferenced.

Diff Detail

Event Timeline

Patch LGTM!

~Aaron

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

Already committed in 193347

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