diff options
author | Nikita Popov <npopov@redhat.com> | 2024-09-24 12:08:35 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2024-09-24 12:26:30 +0200 |
commit | ea902d1b36e4e3a7d7bdd0f7bce3c460b6dd6e80 (patch) | |
tree | 130be4e1abfa672f9386adc7d99581195f3451db /llvm/lib/IR/LLVMContext.cpp | |
parent | d4f38f43f5402041dd36977baa459830011d6ac6 (diff) | |
download | llvm-ea902d1b36e4e3a7d7bdd0f7bce3c460b6dd6e80.zip llvm-ea902d1b36e4e3a7d7bdd0f7bce3c460b6dd6e80.tar.gz llvm-ea902d1b36e4e3a7d7bdd0f7bce3c460b6dd6e80.tar.bz2 |
[IR] Remove deprecated opaque pointer migration methods
Remove the following methods:
* Type::getNonOpaquePointerElementType()
* Type::isOpaquePointerTy()
* LLVMContext::supportsTypedPointers()
* LLVMContext::setOpaquePointers()
These were used temporarily during the opaque pointers migration,
and are no longer needed.
Diffstat (limited to 'llvm/lib/IR/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContext.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp index c0fee93..22e6077 100644 --- a/llvm/lib/IR/LLVMContext.cpp +++ b/llvm/lib/IR/LLVMContext.cpp @@ -377,14 +377,6 @@ std::unique_ptr<DiagnosticHandler> LLVMContext::getDiagnosticHandler() { return std::move(pImpl->DiagHandler); } -void LLVMContext::setOpaquePointers(bool Enable) const { - assert(Enable && "Cannot disable opaque pointers"); -} - -bool LLVMContext::supportsTypedPointers() const { - return false; -} - StringRef LLVMContext::getDefaultTargetCPU() { return pImpl->DefaultTargetCPU; } |