| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 104955
|
| |
|
|
| |
llvm-svn: 104823
|
| |
|
|
| |
llvm-svn: 104815
|
| |
|
|
|
|
|
|
| |
'-fasm' and explicitly map from that flag to -fgnu-keywords in the driver. Turn
off the driver in the lexer test for this madness and add a test to the driver
that the translation actually works.
llvm-svn: 104428
|
| |
|
|
| |
llvm-svn: 104280
|
| |
|
|
|
|
| |
<rdar://problem/8007063>.
llvm-svn: 104205
|
| |
|
|
|
|
| |
assembler defaults to on.
llvm-svn: 103825
|
| |
|
|
|
|
| |
support the necessary ABI yet.
llvm-svn: 103632
|
| |
|
|
| |
llvm-svn: 103631
|
| |
|
|
| |
llvm-svn: 103197
|
| |
|
|
|
|
|
| |
building and passing arguments to cc1 layer when setting values to their
defaults.
llvm-svn: 103162
|
| |
|
|
|
|
|
|
|
|
|
|
| |
over choice of:
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,1]
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,Format String]
dox to come.
llvm-svn: 103056
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
printed in a diagnostic, similar to the limit we already have on the
depth of the template instantiation backtrace. The macro instantiation
backtrace is limited to 10 "instantiated from:" diagnostics; when it's
longer than that, we'll show the first half, then say how many were
suppressed, then show the second half. The limit can be changed with
-fmacro-instantiation-limit=N, and turned off with N=0.
This eliminates a lot of note spew with libraries making use of the
Boost.Preprocess library.
llvm-svn: 103014
|
| |
|
|
|
|
|
|
| |
'--analyze'. There
are several known issues to address for it should be turned on by default.
llvm-svn: 102664
|
| |
|
|
|
|
| |
- <rdar://problem/7919678>
llvm-svn: 102559
|
| |
|
|
| |
llvm-svn: 102432
|
| |
|
|
| |
llvm-svn: 102431
|
| |
|
|
|
|
|
|
|
|
| |
- Replace -cc1 level -fobjc-legacy-dispatch with -fobjc-dispatch-method={legacy,non-legacy,mixed}.
- Lift "mixed" vs "non-mixed" policy choice up to driver level, instead of being buried in CGObjCMac.cpp.
- No intended functionality change.
llvm-svn: 102255
|
| |
|
|
| |
llvm-svn: 102254
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we will print with each error that occurs during template
instantiation. When the backtrace is longer than that, we will print
N/2 of the innermost backtrace entries and N/2 of the outermost
backtrace entries, then skip the middle entries with a note such as:
note: suppressed 2 template instantiation contexts; use
-ftemplate-backtrace-limit=N to change the number of template
instantiation entries shown
This should eliminate some excessively long backtraces that aren't
providing any value.
llvm-svn: 101882
|
| |
|
|
|
|
|
|
| |
implemented precisely the same as GCC, but the distinction GCC makes isn't
useful to represent. This allows parsing code which uses GCC-specific keywords
('asm', etc.) without parsing in a fully GNU mode.
llvm-svn: 101667
|
| |
|
|
| |
llvm-svn: 101618
|
| |
|
|
| |
llvm-svn: 101357
|
| |
|
|
|
|
|
|
| |
option parser.
- Note that this is a behavior change, previously -mllvm at the driver level forwarded to clang -cc1. The driver does a little magic to make sure that '-mllvm -disable-llvm-optzns' works correctly, but other users will need to be updated to use -Xclang.
llvm-svn: 101354
|
| |
|
|
| |
llvm-svn: 100982
|
| |
|
|
|
|
| |
support them.
llvm-svn: 100930
|
| |
|
|
| |
llvm-svn: 100882
|
| |
|
|
|
|
|
|
| |
Remove -faccess-control from -cc1; add -fno-access-control.
Make the driver pass -fno-access-control by default.
Update a bunch of tests to be correct under access control.
llvm-svn: 100880
|
| |
|
|
| |
llvm-svn: 100770
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
emitting diagnostics after it has produced that many errors. Give this a
default value of 20 which produces plenty of errors for people to fix before
recompiling but not so many that their entire console scrolls away when the
compiler gets confused. The experience looks like this:
$ clang foo.c
<tons of crap>
foo.c:102:3: error: unknown type name 'somethingbad'
somethingbad x;
^
fatal error: too many errors emitted, stopping now
36 warnings and 20 errors generated.
llvm-svn: 100689
|
| |
|
|
|
|
| |
PR6661, patch by Ori Avtalion!
llvm-svn: 99821
|
| |
|
|
| |
llvm-svn: 99417
|
| |
|
|
|
|
| |
Fixes <rdar://problem/7405601>.
llvm-svn: 99222
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Disable RTTI.
- Disable use of __cxa_atexit.
- Disable unwind tables.
- Enable freestanding mode.
Also, honor -fhosted correctly.
<rdar://problem/7515383> C++ support: -fapple-kext not honored
llvm-svn: 99041
|
| |
|
|
|
|
|
|
| |
- So much typing, so little gain...
Also, rename the __cxx_global_initialization function just to match llvm-gcc.
llvm-svn: 99039
|
| |
|
|
|
|
| |
platform, e.g. ppc.
llvm-svn: 99016
|
| |
|
|
| |
llvm-svn: 98703
|
| |
|
|
| |
llvm-svn: 98639
|
| |
|
|
| |
llvm-svn: 97897
|
| |
|
|
|
|
| |
Patch by Oleksandr Tymoshenko!
llvm-svn: 97544
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the block descriptor field. This field is the ObjC style @encode
signature of the implementation function, and was to this point
conditionally provided in the block literal data structure. That
provisional support is removed.
Additionally, eliminate unused enumerations for the block literal flags field.
The first shipping ABI unconditionally set (1<<29) but this bit is unused
by the runtime, so the second ABI will unconditionally have (1<<30) set so
that the runtime can in fact distinguish whether the additional data is
present or not.
llvm-svn: 96989
|
| |
|
|
|
|
| |
The linker bug holding this back is Darwin-specific.
llvm-svn: 96655
|
| |
|
|
| |
llvm-svn: 96469
|
| |
|
|
|
|
|
| |
to the driver, and support it in CodeGenOptsToArgs(). Note that this changes
the default behavior of clang -cc1 to always run the verifier.
llvm-svn: 96077
|
| |
|
|
| |
llvm-svn: 95876
|
| |
|
|
| |
llvm-svn: 95849
|
| |
|
|
|
|
|
| |
calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling,
for Darwin ARM.
llvm-svn: 95787
|
| |
|
|
|
|
| |
Daniel, I'd appreciate a review of the driver/cc1 parts.
llvm-svn: 95508
|
| |
|
|
| |
llvm-svn: 95348
|
| |
|
|
|
|
| |
'-analyzer-check-objc-missing-dealloc'.
llvm-svn: 95347
|