[PATCH] D151772: [LangRef] fix the function result attributes location explanation and example

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 02:38:29 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6e1f5ea5ec64: [LangRef] fix the function result attributes location explanation and examples… (authored by khei4).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151772/new/

https://reviews.llvm.org/D151772

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -1098,8 +1098,8 @@
     declare i32 @atoi(i8 zeroext)
     declare signext i8 @returns_signed_char()
 
-Note that any attributes for the function result (``nounwind``,
-``readonly``) come immediately after the argument list.
+Note that any attributes for the function result (``nonnull``,
+``signext``) come before the result type.
 
 Currently, only the following parameter attributes are defined:
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151772.526969.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/cbe0ec13/attachment.bin>


More information about the llvm-commits mailing list