[PATCH] D125581: [DOC] Improve LangRef description of declare
Sebastian Peryt via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 17 12:30:52 PDT 2022
speryt updated this revision to Diff 430164.
speryt edited the summary of this revision.
speryt added a comment.
Following @RKSimon suggestion I've split diff on two separate diffs.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125581/new/
https://reviews.llvm.org/D125581
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -800,6 +800,14 @@
collector name <gc>`, an optional :ref:`prefix <prefixdata>`, and an optional
:ref:`prologue <prologuedata>`.
+Syntax::
+
+ declare [linkage] [visibility] [DLLStorageClass]
+ [cconv] [ret attrs]
+ <ResultType> @<FunctionName> ([argument list])
+ [(unnamed_addr|local_unnamed_addr)] [align N] [gc]
+ [prefix Constant] [prologue Constant]
+
A function definition contains a list of basic blocks, forming the CFG (Control
Flow Graph) for the function. Each basic block may optionally start with a label
(giving the basic block a symbol table entry), contains a list of instructions,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125581.430164.patch
Type: text/x-patch
Size: 804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220517/71f1b2fb/attachment.bin>
More information about the llvm-commits
mailing list