Skip to content

Commit 98d6dd3

Browse files
[LLVM][LangRef][noalias] Remove Redundant Line and Improve Wording (llvm#124685)
Removes a redundant line and improves punctuation and wording in the paragraph describing the `noalias` attribute.
1 parent 617278e commit 98d6dd3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

llvm/docs/LangRef.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,11 +1380,10 @@ Currently, only the following parameter attributes are defined:
13801380
memory locations that are *modified*, by any means, during the execution of
13811381
the function. If there are other accesses not based on the argument or
13821382
return value, the behavior is undefined. The attribute on a return value
1383-
also has additional semantics described below. The caller shares the
1384-
responsibility with the callee for described below. The caller shares the
1385-
responsibility with the callee for ensuring that these requirements are met.
1386-
For further details, please see the discussion of the NoAlias response in
1387-
:ref:`alias analysis <Must, May, or No>`.
1383+
also has additional semantics, as described below. Both the caller and the
1384+
callee share the responsibility of ensuring that these requirements are
1385+
met. For further details, please see the discussion of the NoAlias response
1386+
in :ref:`alias analysis <Must, May, or No>`.
13881387

13891388
Note that this definition of ``noalias`` is intentionally similar
13901389
to the definition of ``restrict`` in C99 for function arguments.

0 commit comments

Comments
 (0)