This is an archive of the discontinued LLVM Phabricator instance.

Remove dead code from DIBuilder
ClosedPublic

Authored by jyoti.allur on Sep 26 2014, 8:58 AM.

Details

Summary

DIBuilder: Delete dead code, NFC

Remove both versions of DIBuilder::createGlobalVariable() as they are not used. Renaming 'DIBuilder::createStaticVariable()' to 'DIBuilder::createGlobalVariable()' .

Diff Detail

Event Timeline

jyoti.allur retitled this revision from to Remove dead code from DIBuilder.
jyoti.allur updated this object.
jyoti.allur edited the test plan for this revision. (Show Details)
jyoti.allur set the repository for this revision to rL LLVM.
jyoti.allur added a reviewer: friss.
jyoti.allur added subscribers: friss, Unknown Object (MLST).
jyoti.allur removed a subscriber: friss.

I would have split the removal and the renaming into 2 patches, but that's not a big deal. I don't think I have the authority to approve that, but it LGTM. Let's add some reviewers with more knowledge of the history of that code, they might have something to say.

dblaikie accepted this revision.Sep 26 2014, 11:26 AM
dblaikie edited edge metadata.

Sure, looks good to me (As Frederik mentioned - could be nice to be two commits, but it's nothing too interesting). Please commit.

This revision is now accepted and ready to land.Sep 26 2014, 11:26 AM
jyoti.allur closed this revision.Sep 28 2014, 11:49 PM

Closed by commit rL218593 (authored by @jyoti.allur).