This is an archive of the discontinued LLVM Phabricator instance.

Remove TypeBuilder.h, and fix the few locations using it.
ClosedPublic

Authored by jyknight on Jan 10 2019, 6:33 PM.

Details

Summary

This shortcut mechanism for creating types was added 10 years ago, but
has seen almost no uptake since then, neither internally nor in
external projects.

The very small number of characters saved by using it does not seem
worth the mental overhead of an additional type-creation API, so,
delete it.

Diff Detail

Repository
rL LLVM

Event Timeline

jyknight created this revision.Jan 10 2019, 6:33 PM
niravd accepted this revision.Jan 11 2019, 12:13 PM

LGTM.

This revision is now accepted and ready to land.Jan 11 2019, 12:13 PM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/unittests/IR/CFGBuilder.cpp