| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
means it isn't really possible to write the test case for this code, but this is
the kind of thing that really requires testing against the installed compiler
anyway.
llvm-svn: 100935
|
| |
|
|
|
|
| |
support them.
llvm-svn: 100930
|
| |
|
|
|
|
|
|
|
| |
Clang is installed. This is designed to match gcc, and is important when
installed in a non-standard location.
- This is gross, but no worse than ever. It will die when we finally move to
the compiler-rt based toolchain, any day now.
llvm-svn: 100915
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
deciding when we need to emit an extra "command failed" diagnostic.
- This also fixes the case where we were emitting that extra diagnostics, even
when using clang w/ the integrated assembler, which has good diagnostics.
llvm-svn: 100529
|
| |
|
|
|
|
| |
Clang++ support, even in "Production" mode (for testing purposes).
llvm-svn: 100119
|
| |
|
|
|
|
| |
PR6661, patch by Ori Avtalion!
llvm-svn: 99821
|
| |
|
|
|
|
|
| |
override to enable use of the DarwinClang tool chain on all platforms (not just
ARM).
llvm-svn: 99660
|
| |
|
|
| |
llvm-svn: 99417
|
| |
|
|
|
|
| |
Fixes <rdar://problem/7405601>.
llvm-svn: 99222
|
| |
|
|
| |
llvm-svn: 99191
|
| |
|
|
|
|
| |
toolchain configurations and is a small step toward FreeBSD support.
llvm-svn: 99159
|
| |
|
|
|
|
| |
target when both {MACOSX,IPHONEOS}_DEPLOYMENT_TARGET were set.
llvm-svn: 99055
|
| |
|
|
|
|
| |
-v style) to a file.
llvm-svn: 99054
|
| |
|
|
| |
llvm-svn: 99053
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
option types.
Also, simplify/fix SeparateArg::render with forced join.
llvm-svn: 99022
|
| |
|
|
|
|
| |
platform, e.g. ppc.
llvm-svn: 99016
|
| |
|
|
| |
llvm-svn: 98703
|
| |
|
|
| |
llvm-svn: 98639
|
| |
|
|
| |
llvm-svn: 98263
|
| |
|
|
| |
llvm-svn: 98262
|
| |
|
|
| |
llvm-svn: 98261
|
| |
|
|
| |
llvm-svn: 98174
|
| |
|
|
| |
llvm-svn: 97930
|
| |
|
|
| |
llvm-svn: 97897
|
| |
|
|
| |
llvm-svn: 97746
|
| |
|
|
|
|
| |
Patch by Oleksandr Tymoshenko!
llvm-svn: 97544
|
| |
|
|
| |
llvm-svn: 97106
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
- Patch by Andrzej K. Haczewski, with a tweak by me to emit a 'deprecated'
diagnostic when we do this. We'll see what zee users say.
llvm-svn: 96511
|
| |
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 95848
|
| |
|
|
|
|
|
| |
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
|