[llvm-commits] [llvm] r74907 - /llvm/trunk/tools/llvmc/doc/LLVMC-Reference.rst
Mikhail Glushenkov
foldr at codedgers.com
Tue Jul 7 09:09:29 PDT 2009
Author: foldr
Date: Tue Jul 7 11:09:29 2009
New Revision: 74907
URL: http://llvm.org/viewvc/llvm-project?rev=74907&view=rev
Log:
Documentation update.
Modified:
llvm/trunk/tools/llvmc/doc/LLVMC-Reference.rst
Modified: llvm/trunk/tools/llvmc/doc/LLVMC-Reference.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc/doc/LLVMC-Reference.rst?rev=74907&r1=74906&r2=74907&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc/doc/LLVMC-Reference.rst (original)
+++ llvm/trunk/tools/llvmc/doc/LLVMC-Reference.rst Tue Jul 7 11:09:29 2009
@@ -347,6 +347,12 @@
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
More information about the llvm-commits
mailing list