OSDN Git Service

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)
commit28a460d130f29dcc12745fcbd4e205b8758831c8
tree9b32572486beae9dcf9117aff0c4d11758c780e1
parent27d15ecc2b8c8a8c9642374058ee13ba5389fd64
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351020 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
docs/ExtendingLLVM.rst
docs/ProgrammersManual.rst
include/llvm/IR/TypeBuilder.h [deleted file]
tools/lli/lli.cpp
unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
unittests/ExecutionEngine/Orc/OrcTestCommon.h
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
unittests/IR/CFGBuilder.cpp
unittests/IR/CMakeLists.txt
unittests/IR/TypeBuilderTest.cpp [deleted file]
utils/gn/secondary/llvm/unittests/IR/BUILD.gn