aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commitdad7820e1439c7a7d3238a6e3d6e1683a1722040 (patch)
tree7daa8af6e1f0b55a75144e71374d59d1f7151751 /tools
parent6620ec1928ff1375b63e7754e3b33ebbc0736fde (diff)
downloadexternal_llvm-dad7820e1439c7a7d3238a6e3d6e1683a1722040.zip
external_llvm-dad7820e1439c7a7d3238a6e3d6e1683a1722040.tar.gz
external_llvm-dad7820e1439c7a7d3238a6e3d6e1683a1722040.tar.bz2
Documentation update.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74907 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvmc/doc/LLVMC-Reference.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst
index b43c3e3..aa97703 100644
--- a/tools/llvmc/doc/LLVMC-Reference.rst
+++ b/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