[PATCH] D139441: [llvm-c] Remove LLVMContextSetOpaquePointers
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 10:30:10 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG127087937602: [llvm-c] Remove LLVMContextSetOpaquePointers (authored by aeubanks).
Changed prior to commit:
https://reviews.llvm.org/D139441?vs=480521&id=492177#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139441/new/
https://reviews.llvm.org/D139441
Files:
llvm/docs/OpaquePointers.rst
llvm/docs/ReleaseNotes.rst
llvm/include/llvm-c/Core.h
llvm/lib/IR/Core.cpp
Index: llvm/lib/IR/Core.cpp
===================================================================
--- llvm/lib/IR/Core.cpp
+++ llvm/lib/IR/Core.cpp
@@ -129,10 +129,6 @@
unwrap(C)->setDiscardValueNames(Discard);
}
-void LLVMContextSetOpaquePointers(LLVMContextRef C, LLVMBool OpaquePointers) {
- unwrap(C)->setOpaquePointers(OpaquePointers);
-}
-
void LLVMContextDispose(LLVMContextRef C) {
delete unwrap(C);
}
Index: llvm/include/llvm-c/Core.h
===================================================================
--- llvm/include/llvm-c/Core.h
+++ llvm/include/llvm-c/Core.h
@@ -566,13 +566,6 @@
*/
void LLVMContextSetDiscardValueNames(LLVMContextRef C, LLVMBool Discard);
-/**
- * Set whether the given context is in opaque pointer mode.
- *
- * @see LLVMContext::setOpaquePointers()
- */
-void LLVMContextSetOpaquePointers(LLVMContextRef C, LLVMBool OpaquePointers);
-
/**
* Destroy a context instance.
*
Index: llvm/docs/ReleaseNotes.rst
===================================================================
--- llvm/docs/ReleaseNotes.rst
+++ llvm/docs/ReleaseNotes.rst
@@ -118,6 +118,9 @@
Changes to the C API
--------------------
+* ``LLVMContextSetOpaquePointers``, a temporary API to pin to legacy typed
+ pointer, has been removed.
+
Changes to the FastISel infrastructure
--------------------------------------
Index: llvm/docs/OpaquePointers.rst
===================================================================
--- llvm/docs/OpaquePointers.rst
+++ llvm/docs/OpaquePointers.rst
@@ -234,8 +234,7 @@
on a pointer type.
It is possible to control whether opaque pointers are used (if you want to
-override the default) using ``LLVMContext::setOpaquePointers`` or
-``LLVMContextSetOpaquePointers()``.
+override the default) using ``LLVMContext::setOpaquePointers``.
Temporarily disabling opaque pointers
=====================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139441.492177.patch
Type: text/x-patch
Size: 1883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230125/535ed18c/attachment-0001.bin>
More information about the llvm-commits
mailing list