[PATCH] D151772: [LangRef] fix the function result attributes location explanation
Kohei Asano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 20:32:25 PDT 2023
khei4 created this revision.
khei4 added reviewers: nikic, jdoerfert.
Herald added a subscriber: StephenFan.
Herald added a project: All.
khei4 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
I'm confused with the locations of attributes for the function result. I believe they come "before the result type".
https://reviews.llvm.org/D151772
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -1099,7 +1099,7 @@
declare signext i8 @returns_signed_char()
Note that any attributes for the function result (``nounwind``,
-``readonly``) come immediately after the argument list.
+``readonly``) come before the result type.
Currently, only the following parameter attributes are defined:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151772.526879.patch
Type: text/x-patch
Size: 455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/6a4f6726/attachment.bin>
More information about the llvm-commits
mailing list