History log of /llvm-project/llvm/lib/Support/CommandLine.cpp (Results 376 – 400 of 443)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b3171678 05-Jun-2006 Reid Spencer <rspencer@reidspencer.com>

Make it possible to override the standard version printer. Not all tools
built with CommandLine.h will want the --version option to report that the
tool belongs to LLVM. To override simply pass a voi

Make it possible to override the standard version printer. Not all tools
built with CommandLine.h will want the --version option to report that the
tool belongs to LLVM. To override simply pass a void func() to the
cl::SetVersionPrinter() function and that void func() will be called when
it is time to print the version information.

llvm-svn: 28687

show more ...


# 1b7a5152 28-Apr-2006 Chris Lattner <sabre@nondot.org>

Fix PR743: emit -help output of a tool to cout, not cerr.

llvm-svn: 28010


# f64762c2 17-Jan-2006 Chris Lattner <sabre@nondot.org>

Add support for programs with a null argv[0]

llvm-svn: 25379


# 36501f5e 26-Dec-2005 Duraid Madina <duraid@octopus.com.au>

MERRY CHRISTMAS EVERYONE!!! (what better way to spend christmas than
to try building LLVM on HP-UX! (the Right Way seems to be to tear out
the ancient STL that HP ship and use http://incubator.apache

MERRY CHRISTMAS EVERYONE!!! (what better way to spend christmas than
to try building LLVM on HP-UX! (the Right Way seems to be to tear out
the ancient STL that HP ship and use http://incubator.apache.org/stdcxx/ )

llvm-svn: 25012

show more ...


# fdc8b19a 16-Nov-2005 Chris Lattner <sabre@nondot.org>

indicate when a tool is a debug build.

llvm-svn: 24374


Revision tags: llvmorg-1.6.0
# d09a9a78 08-Aug-2005 Chris Lattner <sabre@nondot.org>

Allow tools with "consume after" options (like lli) to take more positional
opts than they take directly. Thanks to John C for pointing this problem
out to me!

llvm-svn: 22717


# d380d841 08-Aug-2005 Chris Lattner <sabre@nondot.org>

Reject command lines that have too many positional arguments passed (e.g.,
'opt x y'). This fixes PR493.

Patch contributed by Owen Anderson!

llvm-svn: 22705


Revision tags: llvmorg-1.5.0
# 88bb4457 13-May-2005 Chris Lattner <sabre@nondot.org>

Capitalize

llvm-svn: 21964


# c18e92f3 10-May-2005 Chris Lattner <sabre@nondot.org>

Do not use "" as a sentinal for a missing argument! This fixes PR560.

llvm-svn: 21850


# 10468d8a 21-Apr-2005 Misha Brukman <brukman+llvm@gmail.com>

Remove trailing whitespace

llvm-svn: 21422


# a3a55bf9 14-Feb-2005 Chris Lattner <sabre@nondot.org>

Work around GCC PR19958, which causes programs to sometimes crash after
printing help output or version info.

llvm-svn: 20180


Revision tags: llvmorg-1.4.0
# 80bb6931 24-Nov-2004 Reid Spencer <rspencer@reidspencer.com>

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


# d27b0144 20-Nov-2004 Tanya Lattner <tonic@nondot.org>

Fixed assertion from triggering. We need to check if the commandline map is empty before checking if an arg exists.

llvm-svn: 18057


# 37bcd996 19-Nov-2004 Chris Lattner <sabre@nondot.org>

Patches to avoid "leaking" memory on process exit. Patch contributed by
Morten Ofstad!

llvm-svn: 17998


# f0173e0c 16-Nov-2004 Reid Spencer <rspencer@reidspencer.com>

Add a comment to some code that at first glance just doesn't look right.

llvm-svn: 17886


# 5e554704 16-Nov-2004 Reid Spencer <rspencer@reidspencer.com>

Per code review:
*Implement/Document the cl::extrahelp feature instead of the MoreHelp ptr.

llvm-svn: 17871


# 1f4ab8b4 14-Nov-2004 Reid Spencer <rspencer@reidspencer.com>

Implement the MoreHelp utility that calls a function to printmore help information if the MoreHelp global is not null.

llvm-svn: 17774


# 8a75d2e7 07-Nov-2004 Misha Brukman <brukman+llvm@gmail.com>

Replace uses of llvm.org with llvm.cs.uiuc.edu

llvm-svn: 17549


# 7c16caa3 01-Sep-2004 Reid Spencer <rspencer@reidspencer.com>

Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/l

Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137

show more ...


# 9501b9b8 01-Sep-2004 Reid Spencer <rspencer@reidspencer.com>

Make CommandLine prefix error output with the name of the program.

llvm-svn: 16129


# 2027a6ff 13-Aug-2004 Reid Spencer <rspencer@reidspencer.com>

Allow any cl::opt to use the method getPosition() to retrieve the option's
absolute position on the command line. Similarly allow any cl::list to
use the method getPosition(n) to retrieve the absolut

Allow any cl::opt to use the method getPosition() to retrieve the option's
absolute position on the command line. Similarly allow any cl::list to
use the method getPosition(n) to retrieve the absolute position of the nth
option in the list. This provides support for two things: (a) options like
-l that are actually positional and their order of occurrence matters when
they are intermixed with positional arguments like "a.o"; and (b) options
like -x LANG which affect only the positional arguments that come after
the option. In both cases, knowing the absolute position of a given option
helps.

llvm-svn: 15725

show more ...


Revision tags: llvmorg-1.3.0
# ff6cc123 04-Aug-2004 Reid Spencer <rspencer@reidspencer.com>

Add a --version option for every tool that prints out:
Low Level Virtual Machine ($PACKAGE_NAME) $PACKAGE_VERSION

llvm-svn: 15454


# 13e5831b 18-Jul-2004 Chris Lattner <sabre@nondot.org>

Add a workaround for a GCC 3.3.2 bug

llvm-svn: 14976


# d3ecc618 03-Jul-2004 Chris Lattner <sabre@nondot.org>

Fix compilation on internix

llvm-svn: 14588


# a60f355c 06-May-2004 Chris Lattner <sabre@nondot.org>

Implement the new cl::PositionalEatsArgs flag, refactor code a bit

llvm-svn: 13388


1...<<1112131415161718