diff --git a/docs/WritingAnLLVMPass.rst b/docs/WritingAnLLVMPass.rst index b10d98f87e2..e7a87a12d25 100644 --- a/docs/WritingAnLLVMPass.rst +++ b/docs/WritingAnLLVMPass.rst @@ -454,7 +454,7 @@ external functions. To be explicit, ``FunctionPass`` subclasses are not allowed to: -#. Modify a ``Function`` other than the one currently being processed. +#. Inspect or modify a ``Function`` other than the one currently being processed. #. Add or remove ``Function``\ s from the current ``Module``. #. Add or remove global variables from the current ``Module``. #. Maintain state across invocations of:ref:`runOnFunction