History log of /llvm-project/llvm/lib/Support/CommandLine.cpp (Results 251 – 275 of 443)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7e79636e 12-Jun-2013 Patrik Hagglund <patrik.h.hagglund@ericsson.com>

Fix 'gcc -flto' builds for unittest binaries (undefined reference to
`typeinfo for llvm::cl::GenericOptionValue').

Remove an "anchor" method for an abstract class. (This does not
increase the number

Fix 'gcc -flto' builds for unittest binaries (undefined reference to
`typeinfo for llvm::cl::GenericOptionValue').

Remove an "anchor" method for an abstract class. (This does not
increase the number of vtables.)

llvm-svn: 183830

show more ...


# d1fcac91 11-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Include PathV1.h in files that use it.

This is preparation for replacing Path.h with PathV2.h.

llvm-svn: 183782


Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2
# 72a196a1 10-May-2013 Alexander Kornienko <alexfh@google.com>

Better output for long help strings for command-line options.

Summary:
This patch allows using \n inside long help strings for command-line
options, so that all lines are equally indented. This is n

Better output for long help strings for command-line options.

Summary:
This patch allows using \n inside long help strings for command-line
options, so that all lines are equally indented. This is not a perfect solution,
as we don't (and probably don't want to) know about terminal width, but it
allows to format long help strings somehow readable without manually padding
them with spaces. A motivating example is -help output from clang-format (source
code in tools/clang-format/ClangFormat.cpp, see cl options offset, length,
style, and dump-config).

Reviewers: atrick, alexfh

Reviewed By: alexfh

CC: llvm-commits, rafael

Differential Revision: http://llvm-reviews.chandlerc.com/D779

llvm-svn: 181608

show more ...


Revision tags: llvmorg-3.3.0-rc1
# 7cb710d5 06-May-2013 Andrew Trick <atrick@apple.com>

Implemented public interface for modifying registered (not positional or sink options) command line options at runtime.

Patch by Dan Liew!

llvm-svn: 181254


# 0537a988 06-May-2013 Andrew Trick <atrick@apple.com>

Support command line option categories.

Patch by Dan Liew!

llvm-svn: 181253


# fa9888fc 09-Mar-2013 Craig Topper <craig.topper@gmail.com>

Remove an unused member variable from HelpPrinter. Move another member variable to be a local variable in the only method that uses it.

llvm-svn: 176778


Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3
# ed0881b2 03-Dec-2012 Chandler Carruth <chandlerc@gmail.com>

Use the new script to sort the includes of every file under lib.

Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module

Use the new script to sort the includes of every file under lib.

Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.

Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]

llvm-svn: 169131

show more ...


Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1
# be5613c0 09-Oct-2012 Rafael Espindola <rafael.espindola@gmail.com>

Enable response files in all tools. Patch by Liu, Yaxun (Sam). I have simplified
the test.

llvm-svn: 165535


# 318f03f5 19-Jul-2012 Bill Wendling <isanbard@gmail.com>

Remove tabs.

llvm-svn: 160479


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# 79d793e7 12-Mar-2012 Duncan Sands <baldrick@free.fr>

Don't cast away constant qualifier.

llvm-svn: 152553


# 0210e976 07-Feb-2012 David Blaikie <dblaikie@gmail.com>

Correct use of const in ParseCommandLineOptions

llvm-svn: 149999


# 65e24655 25-Jan-2012 Jim Grosbach <grosbach@apple.com>

Tidy up. s/Low Level Virtual Machine/LLVM/.

LLVM isn't an acronym anymore.

llvm-svn: 148985


# d3303ded 23-Jan-2012 David Blaikie <dblaikie@gmail.com>

Remove dead default.

llvm-svn: 148738


# 486df738 16-Jan-2012 David Blaikie <dblaikie@gmail.com>

Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly.

(This time I believe I've checked all the -Wreturn-type warnings from GCC & ad

Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly.

(This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them)

llvm-svn: 148262

show more ...


# 99ab273a 05-Jan-2012 Sebastian Pop <spop@codeaurora.org>

revert r147542 after comments from Joerg Sonnenberger

llvm-svn: 147608


# 0f357d6c 04-Jan-2012 Sebastian Pop <spop@codeaurora.org>

use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT

Get back getHostTriple.

For JIT compilation, use the host triple instead of the default
target: this fixes some JIT tes

use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT

Get back getHostTriple.

For JIT compilation, use the host triple instead of the default
target: this fixes some JIT testcases that used to fail when the
compiler has been configured as a cross compiler.

llvm-svn: 147542

show more ...


# 3a15e145 01-Dec-2011 David Blaikie <dblaikie@gmail.com>

Add some missing anchors.

llvm-svn: 145578


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3
# 94441fba 01-Nov-2011 Sebastian Pop <spop@codeaurora.org>

rename getHostTriple into getDefaultTargetTriple

llvm-svn: 143502


Revision tags: llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# 49fc9dda 15-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com>

CommandLine: Add support for 64 bit unsigned integer options.

llvm-svn: 139848


# 2d71c421 22-Jul-2011 Chandler Carruth <chandlerc@gmail.com>

Move the registered target printing in version strings completely out of
the Support library. Now its part of the TargetRegistry, and the three
commands that care about this explicitly register this

Move the registered target printing in version strings completely out of
the Support library. Now its part of the TargetRegistry, and the three
commands that care about this explicitly register this extra bit of
version information.

The set of commands which care was computed by intersecting those which
use the Support library's version string printing and those that
initialize all the registered targets in a way that produces
a meaningful list. The only odd ball out is that 'clang -cc1as -version'
no longer prints the registered targets. I don't think anyone is really
interested in that (especially as the fact that llvm-mc does so is under
a FIXME), but if someone really does want this back I'll happily apply
the same patch there.

llvm-svn: 135757

show more ...


# 2baac02c 22-Jul-2011 Chandler Carruth <chandlerc@gmail.com>

Move the logic for printing the registered targets into a static
function on the TargetRegistry. Also clean it up and use the modern LLVM
utility libraries available instead of rolling a few things m

Move the logic for printing the registered targets into a static
function on the TargetRegistry. Also clean it up and use the modern LLVM
utility libraries available instead of rolling a few things manually.

llvm-svn: 135756

show more ...


# ea7e5527 22-Jul-2011 Chandler Carruth <chandlerc@gmail.com>

Add an extension point to the CommandLine library where clients can
register extra version information to be printed. This is designed to
allow those tools which link in various targets to also print

Add an extension point to the CommandLine library where clients can
register extra version information to be printed. This is designed to
allow those tools which link in various targets to also print those
registered targets under --version.

Currently this printing logic is embedded into the Support library
directly; a huge layering violation. This is the first step to hoisting
it out into the tools without adding lots of duplicated code.

llvm-svn: 135755

show more ...


# 871b7124 13-Jun-2011 Evan Cheng <evan.cheng@apple.com>

Aliased flag options should be directed to stdout, not stderr to be consistent. Patch by Julien Lerouge.

llvm-svn: 132931


# e75ffa1b 02-May-2011 Nick Lewycky <nicholas@mxc.ca>

In option typo correction, consider -foo=VALUE flags as two distinct parts. The
comments claimed it did this, but the LHS value was actually an unused variable.

The new system considers only the '-f

In option typo correction, consider -foo=VALUE flags as two distinct parts. The
comments claimed it did this, but the LHS value was actually an unused variable.

The new system considers only the '-foo' part when comparing it for typos
against flags that have values, but still look at the whole string for flags
that don't. That way, we'll still correct '-inst=combine' to '-instcombine'.

llvm-svn: 130685

show more ...


Revision tags: llvmorg-2.9.0
# 87e3367d 06-Apr-2011 Frits van Bommel <fvbommel@gmail.com>

Fix a few instances of "warning: extra ';' outside of a function [-pedantic]".

llvm-svn: 129002


1...<<1112131415161718