[PATCH] D151772: [LangRef] fix the function result attributes location explanation
Kohei Asano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 31 01:39:56 PDT 2023
khei4 updated this revision to Diff 526956.
khei4 added a comment.
change examples also
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.526956.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/8c8cc2c7/attachment.bin>
More information about the llvm-commits
mailing list