summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-07-07 16:09:29 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-07-07 16:09:29 +0000
commitf4cc0cddbcd6a2d67772ed2ca85650bcd9bee630 (patch)
tree6f958b6a9fc7e8f21039e69a63f8c2338a968542
parent5d458e0f06179a9205f20e09b4e1b2d9ee15ffdb (diff)
downloadbcm5719-llvm-f4cc0cddbcd6a2d67772ed2ca85650bcd9bee630.tar.gz
bcm5719-llvm-f4cc0cddbcd6a2d67772ed2ca85650bcd9bee630.zip
Documentation update.
llvm-svn: 74907
-rw-r--r--llvm/tools/llvmc/doc/LLVMC-Reference.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/doc/LLVMC-Reference.rst b/llvm/tools/llvmc/doc/LLVMC-Reference.rst
index b43c3e3525c..aa977039ebe 100644
--- a/llvm/tools/llvmc/doc/LLVMC-Reference.rst
+++ b/llvm/tools/llvmc/doc/LLVMC-Reference.rst
@@ -347,6 +347,12 @@ separate option groups syntactically.
3))``. Only list options can have this attribute; you can, however, use
the ``one_or_more`` and ``zero_or_one`` properties.
+ - ``init`` - this option has a default value, either a string (if it is a
+ parameter), or a boolean (if it is a switch; boolean constants are called
+ ``true`` and ``false``). List options can't have this attribute. Usage
+ examples: ``(switch_option "foo", (init true))``; ``(prefix_option "bar",
+ (init "baz"))``.
+
- ``extern`` - this option is defined in some other plugin, see below.
External options
OpenPOWER on IntegriCloud