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.
Differential D2002
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
Revision Contents
Diff 5087 lib/Analysis/Consumed.cpp
|