aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/ProgrammersManual.rst
diff options
context:
space:
mode:
authorVasileios Porpodas <vporpodas@google.com>2022-12-14 15:44:55 -0800
committerVasileios Porpodas <vporpodas@google.com>2022-12-15 21:41:24 -0800
commit12c55eb66de0e12243ebe6e66e5b5bf787d30ca3 (patch)
tree8d2f2ea5e66403440ebd0f93f02c7b3a3795b8b9 /llvm/docs/ProgrammersManual.rst
parentad36f767a4d183318b2e3a33dfc1b86a50ac2ab1 (diff)
downloadllvm-12c55eb66de0e12243ebe6e66e5b5bf787d30ca3.zip
llvm-12c55eb66de0e12243ebe6e66e5b5bf787d30ca3.tar.gz
llvm-12c55eb66de0e12243ebe6e66e5b5bf787d30ca3.tar.bz2
[docs] Update docs since getBasicBlockList() is now private
Differential Revision: https://reviews.llvm.org/D140163
Diffstat (limited to 'llvm/docs/ProgrammersManual.rst')
-rw-r--r--llvm/docs/ProgrammersManual.rst9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 868e685..d1b3744 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -3882,17 +3882,12 @@ Important Public Members of the ``Function``
* | ``Function::iterator`` - Typedef for basic block list iterator
| ``Function::const_iterator`` - Typedef for const_iterator.
- | ``begin()``, ``end()``, ``size()``, ``empty()``
+ | ``begin()``, ``end()``, ``size()``, ``empty()``, ``insert()``,
+ ``splice()``, ``erase()``
These are forwarding methods that make it easy to access the contents of a
``Function`` object's BasicBlock_ list.
-* ``Function::BasicBlockListType &getBasicBlockList()``
-
- Returns the list of BasicBlock_\ s. This is necessary to use when you need to
- update the list or perform a complex action that doesn't have a forwarding
- method.
-
* | ``Function::arg_iterator`` - Typedef for the argument list iterator
| ``Function::const_arg_iterator`` - Typedef for const_iterator.
| ``arg_begin()``, ``arg_end()``, ``arg_size()``, ``arg_empty()``