| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
non-path-sensitive-checkers:
DeadStoresChecker
ObjCMethSigsChecker
ObjCUnusedIvarsChecker
SizeofPointerChecker
ObjCDeallocChecker
SecuritySyntaxChecker
llvm-svn: 125779
|
| |
|
|
|
|
| |
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.
llvm-svn: 125742
|
| |
|
|
| |
llvm-svn: 125741
|
| |
|
|
| |
llvm-svn: 125611
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
checks. These are:
StackAddrLeakChecker
ObjCAtSyncChecker
UnixAPIChecker
MacOSXAPIChecker
The rest have/create implicit dependencies between checkers and need to be handled differently.
llvm-svn: 125559
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Checkers will be defined in the tablegen file 'Checkers.td'.
-Apart from checkers, we can define checker "packages" that will contain a collection of checkers.
-Checkers can be enabled with -analyzer-checker=<name> and disabled with -analyzer-disable-checker=<name> e.g:
Enable checkers from 'cocoa' and 'corefoundation' packages except the self-initialization checker:
-analyzer-checker=cocoa -analyzer-checker=corefoundation -analyzer-disable-checker=cocoa.SelfInit
-Introduces CheckerManager and CheckerProvider. CheckerProviders get the set of checker names to enable/disable and
register them with the CheckerManager which will be the entry point for all checker-related functionality.
Currently only the self-initialization checker takes advantage of the new mechanism.
llvm-svn: 125503
|
| |
|
|
| |
llvm-svn: 125309
|
| |
|
|
|
|
| |
is specified in the FreeBSD linker driver.
llvm-svn: 125285
|
| |
|
|
| |
llvm-svn: 125282
|
| |
|
|
| |
llvm-svn: 125201
|
| |
|
|
|
|
| |
Patch by Renato Golin!
llvm-svn: 124878
|
| |
|
|
| |
llvm-svn: 124875
|
| |
|
|
|
|
| |
might expect.
llvm-svn: 124848
|
| |
|
|
|
|
|
| |
CC_PRINT_OPTIONS and can be used to get some out-of-band information on header
usage from a build.
llvm-svn: 124751
|
| |
|
|
| |
llvm-svn: 124736
|
| |
|
|
|
|
| |
Fixes PR9121!
llvm-svn: 124718
|
| |
|
|
| |
llvm-svn: 124661
|
| |
|
|
|
|
|
|
| |
invocation.
This mimics what gcc does and fixes libtool check for libraries.
llvm-svn: 124558
|
| |
|
|
|
|
|
|
| |
'-analyzer-check-objc-self-init' which by default
is enabled by the driver for '--analyze'.
llvm-svn: 124266
|
| |
|
|
|
|
|
| |
and the filename has multiple .'s in it, use the last. For example, "foo.bar.cpp"
should produce "foo.bar.d" not "foo.d". Patch by Johan Boule in PR8391
llvm-svn: 123576
|
| |
|
|
|
|
|
|
|
|
| |
analyzer -cc1 options that are tailored to the
input type. If the input type is "C++", we should
only run the dead stores checker (for now). Similarly,
checks specific to Objective-C should only run
on Objective-C Code.
llvm-svn: 123481
|
| |
|
|
| |
llvm-svn: 123150
|
| |
|
|
| |
llvm-svn: 122987
|
| |
|
|
|
|
| |
// rdar://8818375
llvm-svn: 122831
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 122117
|
| |
|
|
| |
llvm-svn: 121284
|
| |
|
|
| |
llvm-svn: 120528
|
| |
|
|
| |
llvm-svn: 120297
|
| |
|
|
| |
llvm-svn: 119915
|
| |
|
|
|
|
| |
it.
llvm-svn: 119809
|
| |
|
|
| |
llvm-svn: 119803
|
| |
|
|
|
|
|
|
|
| |
-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
|
| |
|
|
|
|
|
|
| |
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: 119003
|
| |
|
|
| |
llvm-svn: 118878
|
| |
|
|
|
|
| |
Cosmin Truta for reporting it.
llvm-svn: 118826
|
| |
|
|
| |
llvm-svn: 118786
|
| |
|
|
| |
llvm-svn: 118771
|
| |
|
|
| |
llvm-svn: 118514
|
| |
|
|
| |
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
|