From 80bb69310908ff077657456eaeef9e8c7f1de466 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 24 Nov 2004 06:13:42 +0000 Subject: Implement and document prefix options with arbitrary values including an = sign. This needed to support -DNAME=value options as pass-through in llvmc. llvm-svn: 18203 --- llvm/docs/CommandLine.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'llvm/docs/CommandLine.html') diff --git a/llvm/docs/CommandLine.html b/llvm/docs/CommandLine.html index 55f54844b4a..4f749b7feb7 100644 --- a/llvm/docs/CommandLine.html +++ b/llvm/docs/CommandLine.html @@ -1276,13 +1276,15 @@ Arguments section for more information. specifies that this option is used to capture "interpreter style" arguments. See this section for more information.
  • The cl::Prefix modifier specifies -that this option prefixes its value. With 'Prefix' options, there is no equal -sign that separates the value from the option name specified. This is useful -for processing odd arguments like '-lmalloc -L/usr/lib' in a linker -tool. Here, the 'l' and 'L' options are normal string (list) -options, that have the cl::Prefix modifier added to -allow the CommandLine library to recognize them. Note that cl::Prefix options must not have the -lmalloc and -L/usr/lib in a +linker tool or -DNAME=value in a compiler tool. Here, the +'l', 'D' and 'L' options are normal string (or list) +options, that have the cl::Prefix modifier added to +allow the CommandLine library to recognize them. Note that +cl::Prefix options must not have the cl::ValueDisallowed modifier specified.
  • The cl::Grouping modifier is used -- cgit v1.2.3