| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
open them in fundamental-mode instead of c++-mode.
Also twiddle whitespace for consistency in ToolChains.cpp.
llvm-svn: 122646
|
|
|
|
|
|
|
|
|
|
|
|
| |
to allow us to explicitly control whether or
not Objective-C properties are default synthesized.
Currently this feature only works when using
the -fobjc-non-fragile-abi2 flag (so there is
no functionality change), but we can now turn
off this feature without turning off all the features
coupled with -fobjc-non-fragile-abi2.
llvm-svn: 122519
|
|
|
|
|
|
|
|
| |
agressive. Now we
don't warn if an argument is not used because it is shadowed by a subsequent argument.
llvm-svn: 122281
|
|
|
|
|
|
| |
equivalents.
llvm-svn: 122140
|
|
|
|
| |
llvm-svn: 122117
|
|
|
|
| |
llvm-svn: 122096
|
|
|
|
| |
llvm-svn: 122088
|
|
|
|
| |
llvm-svn: 122087
|
|
|
|
|
|
| |
that match gcc versions. Eew.
llvm-svn: 122080
|
|
|
|
| |
llvm-svn: 121956
|
|
|
|
| |
llvm-svn: 121378
|
|
|
|
| |
llvm-svn: 121284
|
|
|
|
| |
llvm-svn: 120554
|
|
|
|
| |
llvm-svn: 120544
|
|
|
|
| |
llvm-svn: 120528
|
|
|
|
| |
llvm-svn: 120297
|
|
|
|
| |
llvm-svn: 120231
|
|
|
|
| |
llvm-svn: 119915
|
|
|
|
| |
llvm-svn: 119839
|
|
|
|
|
|
| |
it.
llvm-svn: 119809
|
|
|
|
| |
llvm-svn: 119807
|
|
|
|
| |
llvm-svn: 119803
|
|
|
|
| |
llvm-svn: 119746
|
|
|
|
|
|
|
|
|
|
|
| |
-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
-DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units.
-The rest of the state in Diagnostic object is considered related and tied to one translation unit.
-Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a
SourceLocation instead of a FullSourceLoc.
-Reflect the changes to various interfaces.
llvm-svn: 119730
|
|
|
|
|
|
|
|
|
| |
-Improve the diagnostic message
-Add some comments
Suggestions by Chris.
llvm-svn: 119594
|
|
|
|
|
|
|
|
|
|
| |
definitions if they take by-value
or return by-value any POD that is larger than some threshold (default is 64 bytes).
Implements rdar://8548050.
llvm-svn: 119583
|
|
|
|
| |
llvm-svn: 119577
|
|
|
|
|
|
|
| |
clang -w -c foo.s
Helps with the gdb testsuite.
llvm-svn: 119574
|
|
|
|
|
|
| |
results in the gdb testsuite.
llvm-svn: 119552
|
|
|
|
|
|
| |
Fixes PR8607.
llvm-svn: 119498
|
|
|
|
| |
llvm-svn: 119425
|
|
|
|
|
|
|
|
| |
Silence warning about -g not being used during linking. I couldn't find any
change in behavior in gcc liking when given -g. Please open another bug if
I missed something.
llvm-svn: 119166
|
|
|
|
| |
llvm-svn: 119137
|
|
|
|
| |
llvm-svn: 119003
|
|
|
|
| |
llvm-svn: 118878
|
|
|
|
|
|
| |
Cosmin Truta for reporting it.
llvm-svn: 118826
|
|
|
|
| |
llvm-svn: 118786
|
|
|
|
| |
llvm-svn: 118771
|
|
|
|
| |
llvm-svn: 118769
|
|
|
|
| |
llvm-svn: 118673
|
|
|
|
| |
llvm-svn: 118514
|
|
|
|
| |
llvm-svn: 118433
|
|
|
|
|
|
| |
from Linux/OpenBSD code.
llvm-svn: 118419
|
|
|
|
|
|
| |
Patch by Frits van Bommel.
llvm-svn: 118406
|
|
|
|
|
|
| |
Original patch for OpenBSD by Vladimir Kirillov.
llvm-svn: 118386
|
|
|
|
| |
llvm-svn: 118384
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Try to detect as much as possible from the system itself, not the distro.
This should make it easier to port to a new distro and more likely to
work on a unknown one.
*) The distro enum now doesn't include the arch. Just use the existing
host detection support in LLVM.
*) Correctly handle --sysroot.
A small regression is that now clang will pass bitcode file to the linker.
This is necessary for the gold plugin support to work.
It might be better to detect this at configure/cmake time, but doing it in
c++ first is a lot easier.
llvm-svn: 118382
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
This helps both when using libclang (where we can't require the user to actually change the working directory)
and to help reproduce test cases when the reproduction work comes along.
--FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains
the working directory value if set).
--FileSystemOptions are passed around to various interfaces that perform file operations.
--Opening & reading the content of files should be done only through FileManager. This is useful in general since
file operations will be abstracted in the future for the reproduction mechanism.
FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same
FileManager but with different FileSystemOptions.
Addresses rdar://8583824.
llvm-svn: 118203
|
|
|
|
| |
llvm-svn: 118150
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
distros listed by running
gcc main.o -o main
g++ main.o -o main
gcc main.o -o main -static
g++ main.o -o main -static
gcc f.o -o f.so -shared
g++ f.o -o f.so -shared
and comparing the ld line with the one created by clang. I also added
-m32/m64 in distros that support it.
While I tested many distros, there will always be more. If you are hit by this
it should be somewhat easy to add your distro. If you are in a hurry, do
revert this, but please inform how to detect you distro and the ld command
lines produced by the above gcc invocations. Most distros have some patches
on gcc :-(
llvm-svn: 118149
|