| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The big changes are:
- Deleting Driver/(Arg|Opt)*
- Rewriting includes to llvm/Option/ and re-sorting
- 'using namespace llvm::opt' in clang::driver
- Fixing the autoconf build by adding option everywhere
As discussed in the review, this change includes using directives in
header files. I'll make follow up changes to remove those in favor of
name specifiers.
Reviewers: espindola
Differential Revision: http://llvm-reviews.chandlerc.com/D975
llvm-svn: 183989
|
|
|
|
| |
llvm-svn: 167211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each option has a set of prefixes. When matching an argument such as
-funroll-loops. First the leading - is removed as it is a prefix. Then
a lower_bound search for "funroll-loops" is done against the option table by
option name. From there each option prefix + option name combination is tested
against the argument.
This allows us to support Microsoft style options where both / and - are valid
prefixes. It also simplifies the cases we already have where options come in
both - and -- forms. Almost every option for gnu-ld happens to have this form.
llvm-svn: 166444
|
|
|
|
| |
llvm-svn: 166347
|
|
|
|
|
|
| |
This seems to have introduced assertion hit when building compiler-rt.
llvm-svn: 166245
|
|
|
|
| |
llvm-svn: 166223
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: Michael J. Spencer <bigcheesegs@gmail.com>
Date: Wed Oct 10 21:48:26 2012 +0000
[Options] make Option a value type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165663 91177308-0d34-0410-b5e6-96231b3b80d8
This reverts commit 0464fd5e4ce2193e786e5adcab6b828f9366dae3.
llvm-svn: 165667
|
|
|
|
| |
llvm-svn: 165663
|
|
|
|
|
|
|
| |
(I was going to fix the TODO about DenseMap too, but
that would break self-host right now. See PR11922.)
llvm-svn: 149799
|
|
|
|
| |
llvm-svn: 134418
|
|
|
|
|
|
|
| |
open them in fundamental-mode instead of c++-mode.
Also twiddle whitespace for consistency in ToolChains.cpp.
llvm-svn: 122646
|
|
|
|
| |
llvm-svn: 105762
|
|
|
|
| |
llvm-svn: 105761
|
|
|
|
|
|
| |
deriving them from the Arg type.
llvm-svn: 105760
|
|
|
|
|
|
| |
they can be independent of the exact option that created them.
llvm-svn: 105739
|
|
|
|
|
|
| |
possible.
llvm-svn: 105738
|
|
|
|
|
|
|
|
| |
option types.
Also, simplify/fix SeparateArg::render with forced join.
llvm-svn: 99022
|
|
|
|
| |
llvm-svn: 81346
|
|
|
|
|
|
|
| |
we can properly claim arguments, even if they have been translated by
the tool chain.
llvm-svn: 68020
|
|
|
|
| |
llvm-svn: 67677
|
|
|
|
|
|
| |
situation should never occur now that arguments are parsed correctly.
llvm-svn: 67493
|
|
|
|
| |
llvm-svn: 67472
|
|
|
|
|
|
|
|
| |
diagnostics.
- This ensures that the whole argument and values are printed,
instead of just the option name.
llvm-svn: 67366
|
|
|
|
|
|
| |
was hoping to clean up in the rewrite, but I don't see it yet.
llvm-svn: 67291
|
|
|
|
| |
llvm-svn: 67182
|
|
|
|
| |
llvm-svn: 67160
|
|
|
|
|
|
| |
case.
llvm-svn: 67151
|
|
|
|
| |
llvm-svn: 66555
|
|
|
|
| |
llvm-svn: 66344
|
|
|
|
|
|
|
|
| |
- Add Driver::ParseArgStrings.
- Store values directly in CommaJoinedArg to support simple access.
- Add FlagArg class.
llvm-svn: 66142
|
|
|
|
| |
llvm-svn: 66106
|
|
|
|
| |
llvm-svn: 66100
|
|
llvm-svn: 66088
|