[llvm] dfa9221 - [docs] Mention LLVMContext::setOpaquePointers for C++ API
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 2 13:28:46 PDT 2022
Author: Fangrui Song
Date: 2022-06-02T13:28:42-07:00
New Revision: dfa9221aa7e9c8daa6ebc92fa0c99521d3c4bc56
URL: https://github.com/llvm/llvm-project/commit/dfa9221aa7e9c8daa6ebc92fa0c99521d3c4bc56
DIFF: https://github.com/llvm/llvm-project/commit/dfa9221aa7e9c8daa6ebc92fa0c99521d3c4bc56.diff
LOG: [docs] Mention LLVMContext::setOpaquePointers for C++ API
Added:
Modified:
llvm/docs/OpaquePointers.rst
Removed:
################################################################################
diff --git a/llvm/docs/OpaquePointers.rst b/llvm/docs/OpaquePointers.rst
index f4a99fc100cca..7d44551f47811 100644
--- a/llvm/docs/OpaquePointers.rst
+++ b/llvm/docs/OpaquePointers.rst
@@ -192,7 +192,8 @@ Additionally, it will no longer be possible to call ``LLVMGetElementType()``
on a pointer type.
It is possible to control whether opaque pointers are used (if you want to
-override the default) using the ``LLVMContextSetOpaquePointers()`` API.
+override the default) using ``LLVMContext::setOpaquePointers`` or
+``LLVMContextSetOpaquePointers()``.
Transition State
================
More information about the llvm-commits
mailing list