aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContext.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-09-24 12:08:35 +0200
committerNikita Popov <npopov@redhat.com>2024-09-24 12:26:30 +0200
commitea902d1b36e4e3a7d7bdd0f7bce3c460b6dd6e80 (patch)
tree130be4e1abfa672f9386adc7d99581195f3451db /llvm/lib/IR/LLVMContext.cpp
parentd4f38f43f5402041dd36977baa459830011d6ac6 (diff)
downloadllvm-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.cpp8
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;
}