[llvm] 6e1f5ea - [LangRef] fix the function result attributes location explanation and examples (NFC)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 31 02:38:18 PDT 2023
Author: khei4
Date: 2023-05-31T18:38:03+09:00
New Revision: 6e1f5ea5ec640027889bd896fe941448a9ac8e20
URL: https://github.com/llvm/llvm-project/commit/6e1f5ea5ec640027889bd896fe941448a9ac8e20
DIFF: https://github.com/llvm/llvm-project/commit/6e1f5ea5ec640027889bd896fe941448a9ac8e20.diff
LOG: [LangRef] fix the function result attributes location explanation and examples (NFC)
Differential Revision: https://reviews.llvm.org/D151772
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 98f5c8c8a53c1..c5168d19e8805 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -1098,8 +1098,8 @@ For example:
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:
More information about the llvm-commits
mailing list