Remove TypeBuilder.h, and fix the few locations using it.
authorJames Y Knight <jyknight@google.com>
Sun, 13 Jan 2019 16:09:28 +0000 (16:09 +0000)
committerJames Y Knight <jyknight@google.com>
Sun, 13 Jan 2019 16:09:28 +0000 (16:09 +0000)
commitc0044118c8ec4889ff1490179d5d70549cb7621c
tree603011e7fc7b0e9f30d4446f96262726a0addb37
parent06e3950561a5cd59b1295ed66071c8a53af8067a
Remove TypeBuilder.h, and fix the few locations using it.

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.

Differential Revision: https://reviews.llvm.org/D56573

llvm-svn: 351020
17 files changed:
llvm/docs/ExtendingLLVM.rst
llvm/docs/ProgrammersManual.rst
llvm/include/llvm/IR/TypeBuilder.h [deleted file]
llvm/tools/lli/lli.cpp
llvm/unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp
llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp
llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
llvm/unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
llvm/unittests/IR/CFGBuilder.cpp
llvm/unittests/IR/CMakeLists.txt
llvm/unittests/IR/TypeBuilderTest.cpp [deleted file]
llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn