aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContext.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2022-03-21 16:03:48 -0700
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2022-03-21 16:04:36 -0700
commit9c96a6bbfdde665b5c2389100a15acdeea0f4145 (patch)
treee8c955a3f3d24c36ffa2cbe3073fc5dd83cec1ab /llvm/lib/IR/LLVMContext.cpp
parenta80c6c7d36d25999a28cfad32e1f461db95ba4dc (diff)
downloadllvm-9c96a6bbfdde665b5c2389100a15acdeea0f4145.zip
llvm-9c96a6bbfdde665b5c2389100a15acdeea0f4145.tar.gz
llvm-9c96a6bbfdde665b5c2389100a15acdeea0f4145.tar.bz2
Revert "[OpaquePtr][LLParser] Automatically detect opaque pointers in .ll files"
This reverts commit 295172ef51c6b9a73bc0fdcfd25f8c41ead9034a. Reason: Broke the ASan buildbot. More details are available on the original Phab review at https://reviews.llvm.org/D119482.
Diffstat (limited to 'llvm/lib/IR/LLVMContext.cpp')
-rw-r--r--llvm/lib/IR/LLVMContext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp
index f4e917c..4b39599 100644
--- a/llvm/lib/IR/LLVMContext.cpp
+++ b/llvm/lib/IR/LLVMContext.cpp
@@ -351,10 +351,6 @@ std::unique_ptr<DiagnosticHandler> LLVMContext::getDiagnosticHandler() {
return std::move(pImpl->DiagHandler);
}
-bool LLVMContext::hasSetOpaquePointersValue() const {
- return pImpl->hasOpaquePointersValue();
-}
-
void LLVMContext::enableOpaquePointers() const {
assert(pImpl->PointerTypes.empty() && pImpl->ASPointerTypes.empty() &&
"Must be called before creating any pointer types");