diff options
author | James Y Knight <jyknight@google.com> | 2019-01-13 16:09:28 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2019-01-13 16:09:28 +0000 |
commit | c0044118c8ec4889ff1490179d5d70549cb7621c (patch) | |
tree | 603011e7fc7b0e9f30d4446f96262726a0addb37 /llvm/docs/ExtendingLLVM.rst | |
parent | 06e3950561a5cd59b1295ed66071c8a53af8067a (diff) | |
download | bcm5719-llvm-c0044118c8ec4889ff1490179d5d70549cb7621c.tar.gz bcm5719-llvm-c0044118c8ec4889ff1490179d5d70549cb7621c.zip |
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
Diffstat (limited to 'llvm/docs/ExtendingLLVM.rst')
-rw-r--r-- | llvm/docs/ExtendingLLVM.rst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/docs/ExtendingLLVM.rst b/llvm/docs/ExtendingLLVM.rst index 87f48c99342..389dfad168b 100644 --- a/llvm/docs/ExtendingLLVM.rst +++ b/llvm/docs/ExtendingLLVM.rst @@ -253,10 +253,6 @@ Adding a fundamental type add enum ``LLVMTypeKind`` and modify ``LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty)`` for the new type -#. ``llvm/include/llvm/IR/TypeBuilder.h``: - - add new class to represent new type in the hierarchy - #. ``llvm/lib/AsmParser/LLLexer.cpp``: add ability to parse in the type from text assembly @@ -299,10 +295,6 @@ Adding a derived type add enum ``LLVMTypeKind`` and modify `LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty)` for the new type -#. ``llvm/include/llvm/IR/TypeBuilder.h``: - - add new class to represent new class in the hierarchy - #. ``llvm/lib/AsmParser/LLLexer.cpp``: modify ``lltok::Kind LLLexer::LexIdentifier()`` to add ability to |