| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uncovered.
This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.
I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.
llvm-svn: 169237
|
|
|
|
|
|
|
| |
the driver (the options defined in CC1Options.td) and exclude their help from
"clang --help".
llvm-svn: 167638
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This may be slightly more efficient and is definitely more readable.
llvm-svn: 165217
|
|
|
|
|
|
|
| |
Str may be smaller than Start->Name here. Use strncmp to avoid scanning past the
end. Found by valgrind.
llvm-svn: 165157
|
|
|
|
|
|
| |
Alias.
llvm-svn: 165150
|
|
|
|
| |
llvm-svn: 164644
|
|
|
|
|
|
| |
OptTable::Info.
llvm-svn: 162299
|
|
|
|
| |
llvm-svn: 162231
|
|
|
|
|
|
|
|
| |
serialization logic in Frontend and Driver.
Reviewed by Eric, Doug and Chandler, and here: http://llvm.org/reviews/r/7/
llvm-svn: 155916
|
|
|
|
| |
llvm-svn: 140369
|
|
|
|
| |
llvm-svn: 140367
|
|
|
|
|
|
|
|
| |
LLVM.h imports
them into the clang namespace.
llvm-svn: 135852
|
|
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129559
|
|
|
|
|
|
|
| |
open them in fundamental-mode instead of c++-mode.
Also twiddle whitespace for consistency in ToolChains.cpp.
llvm-svn: 122646
|
|
|
|
|
|
| |
clarify that they are not modified, and to allow for string literals as arguments.
llvm-svn: 116200
|
|
|
|
|
|
|
|
| |
GCC.
- Mark -Xclang and -mlinker-version= with it for now, although I am sure there
are more.
llvm-svn: 111005
|
|
|
|
|
|
| |
Straszheim!
llvm-svn: 106113
|
|
|
|
| |
llvm-svn: 105839
|
|
|
|
| |
llvm-svn: 105762
|
|
|
|
| |
llvm-svn: 105761
|
|
|
|
|
|
| |
deriving them from the Arg type.
llvm-svn: 105760
|
|
|
|
|
|
|
|
| |
option types.
Also, simplify/fix SeparateArg::render with forced join.
llvm-svn: 99022
|
|
|
|
|
|
| |
collate the options inside that group.
llvm-svn: 90592
|
|
|
|
| |
llvm-svn: 90591
|
|
|
|
| |
llvm-svn: 90420
|
|
|
|
| |
llvm-svn: 89327
|
|
|
|
|
|
| |
actual options.
llvm-svn: 89312
|
|
|
|
| |
llvm-svn: 89310
|
|
|
|
| |
llvm-svn: 89283
|
|
|
|
| |
llvm-svn: 89247
|
|
|
|
| |
llvm-svn: 89234
|
|
|
|
|
|
| |
into a string).
llvm-svn: 89212
|
|
|
|
| |
llvm-svn: 81346
|
|
|
|
|
|
| |
in array value-initialization.
llvm-svn: 75518
|
|
|
|
|
|
|
| |
- <rdar://problem/6756295> warning about '-dynamic' argument unused
during compilation seems incorrect
llvm-svn: 68535
|
|
|
|
|
|
|
|
|
| |
incorrectly. I'm blanking on the smartest way to write this search,
but we should just do the right thing when we move to TableGen.
- <rdar://problem/6761194> [driver] -Wextra-tokens isn't parsed
correctly
llvm-svn: 68525
|
|
|
|
|
|
| |
Also, removed default value for getOptionMetaVar.
llvm-svn: 68146
|
|
|
|
|
|
|
|
| |
- Currently unused.
And yes, now may be about the time I want a TableGen backend.
llvm-svn: 68139
|
|
|
|
|
|
| |
matches the flag in Options.def).
llvm-svn: 67679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Lift ArgList to a base class for InputArgList and DerivedArgList.
- This is not a great decomposition, but it does embed the
translation into the type system, and keep things efficient for
tool chains that don't want to do any translation.
- No intended functionality change.
Eventually I hope to get rid of tool chain specific translation and
have each tool do the right thing, but for now this is the easiest way
to match gcc precisely (which is good for testing).
llvm-svn: 67676
|
|
|
|
| |
llvm-svn: 67673
|
|
|
|
|
|
|
|
|
|
|
| |
On a synthetic command line consisting of almost all defined options,
this drops wall time from .00494 to .00336 and user time from .00258
to .00105.
On the same benchmark, clang-driver is about 15% faster than the
primary gcc driver and almost twice as fast as the gcc driver driver.
llvm-svn: 67564
|
|
|
|
| |
llvm-svn: 67552
|