[llvm] 98d6dd3 - [LLVM][LangRef][noalias] Remove Redundant Line and Improve Wording (#124685)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 17:21:27 PST 2025


Author: Veera
Date: 2025-01-28T20:21:22-05:00
New Revision: 98d6dd39887361ff2161401614da0b7854234419

URL: https://github.com/llvm/llvm-project/commit/98d6dd39887361ff2161401614da0b7854234419
DIFF: https://github.com/llvm/llvm-project/commit/98d6dd39887361ff2161401614da0b7854234419.diff

LOG: [LLVM][LangRef][noalias] Remove Redundant Line and Improve Wording (#124685)

Removes a redundant line and improves punctuation and wording in the
paragraph describing the `noalias` attribute.

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index b922636d6c914b..d004ced9dff146 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -1380,11 +1380,10 @@ Currently, only the following parameter attributes are defined:
     memory locations that are *modified*, by any means, during the execution of
     the function. If there are other accesses not based on the argument or
     return value, the behavior is undefined. The attribute on a return value
-    also has additional semantics described below. The caller shares the
-    responsibility with the callee for described below. The caller shares the
-    responsibility with the callee for ensuring that these requirements are met.
-    For further details, please see the discussion of the NoAlias response in
-    :ref:`alias analysis <Must, May,  or No>`.
+    also has additional semantics, as described below. Both the caller and the
+    callee share the responsibility of ensuring that these requirements are
+    met. For further details, please see the discussion of the NoAlias response
+    in :ref:`alias analysis <Must, May,  or No>`.
 
     Note that this definition of ``noalias`` is intentionally similar
     to the definition of ``restrict`` in C99 for function arguments.


        


More information about the llvm-commits mailing list