| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
ends up in the text segment. // rdar://8825235.
llvm-svn: 125585
|
| |
|
|
|
|
| |
"used". Fixes <rdar://problem/8684363>.
llvm-svn: 125579
|
| |
|
|
|
|
|
|
|
|
|
| |
another path.
Store in PCH the directory that the PCH was originally created in.
If a header file is not found at the path that we expect it to be and the PCH file
was moved from its original location, try to resolve the file by assuming that
header+PCH were moved together and the header is in the same place relative to the PCH.
llvm-svn: 125576
|
| |
|
|
|
|
| |
deprecated class and methods in objective-c.
llvm-svn: 125573
|
| |
|
|
| |
llvm-svn: 125566
|
| |
|
|
| |
llvm-svn: 125565
|
| |
|
|
|
|
|
|
|
| |
- Have CGM precompute a number of commonly-used types
- Have CGF copy that during initialization instead of recomputing them
- Use TBAA info when initializing a parameter variable
- Refactor the scalar ++/-- code
llvm-svn: 125562
|
| |
|
|
|
|
|
| |
-Update tablegen files for checkers, use the tablegen class name for the checker class name.
-Update ClangSACheckersProvider to not look into hidden checker packages.
llvm-svn: 125560
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
checks. These are:
StackAddrLeakChecker
ObjCAtSyncChecker
UnixAPIChecker
MacOSXAPIChecker
The rest have/create implicit dependencies between checkers and need to be handled differently.
llvm-svn: 125559
|
| |
|
|
|
|
|
|
|
| |
the parser will complete the declarator with a valid decl and thus trigger
delayed diagnostics for it. It certainly looks like we were intentionally
returning null here, but I couldn't find any good reason for it, and there
wasn't a comment, so farewell to all that.
llvm-svn: 125556
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a zero constant for a complete class. rdar://problem/8424975
To make this happen, track the field indexes for virtual bases
in the complete object. I'm curious whether we might be better
off making CGRecordLayoutBuilder *much* more reliant on
ASTRecordLayout; we're currently duplicating an awful lot of the ABI
layout logic.
llvm-svn: 125555
|
| |
|
|
|
|
| |
using SmallVectors.
llvm-svn: 125550
|
| |
|
|
|
|
| |
functionality intended.
llvm-svn: 125549
|
| |
|
|
| |
llvm-svn: 125548
|
| |
|
|
|
|
|
|
|
| |
Warn if class for a deprecated class is implemented.
Warn if category for a deprecated class is implemented.
All under control of -Wdeprecated-implementations.
// rdar://8973810.
llvm-svn: 125545
|
| |
|
|
| |
llvm-svn: 125538
|
| |
|
|
|
|
| |
PR9221.
llvm-svn: 125532
|
| |
|
|
| |
llvm-svn: 125517
|
| |
|
|
|
|
| |
for all compiler invocations.
llvm-svn: 125514
|
| |
|
|
| |
llvm-svn: 125507
|
| |
|
|
|
|
| |
PR8626.
llvm-svn: 125506
|
| |
|
|
|
|
| |
builders unhappy.
llvm-svn: 125505
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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
|
| |
|
|
|
|
|
|
| |
load analyzer plugins dynamically but
registration through static constructors should be avoided.
llvm-svn: 125502
|
| |
|
|
|
|
|
|
| |
lib/StaticAnalyzer/Frontend/AnalysisConsumer.h since
FrontendActions.cpp is the only user.
llvm-svn: 125501
|
| |
|
|
| |
llvm-svn: 125500
|
| |
|
|
|
|
| |
Checkers/AnalysisConsumer.cpp into Frontend lib.
llvm-svn: 125499
|
| |
|
|
| |
llvm-svn: 125497
|
| |
|
|
|
|
| |
due to incomplete analysis of loops.
llvm-svn: 125495
|
| |
|
|
|
|
| |
IdempotentOperationsChecker. No real functionality change.
llvm-svn: 125494
|
| |
|
|
| |
llvm-svn: 125488
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
access-control diagnostics which arise from the portion of the declarator
following the scope specifier, just in case access is granted by
friending the individual method. This can also happen with in-line
member function declarations of class templates due to templated-scope
friend declarations.
We were really playing fast-and-loose before with this sort of thing,
and it turned out to work because *most* friend functions are in file
scope. Making us delay regardless of context exposed several bugs with
how we were manipulating delay. I ended up needing a concept of a
context that's independent of the declarations in which it appears,
and then I actually had to make some things save contexts correctly,
but delay should be much cleaner now.
I also encapsulated all the delayed-diagnostics machinery in a single
subobject of Sema; this is a pattern we might want to consider rolling
out to other components of Sema.
llvm-svn: 125485
|
| |
|
|
|
|
| |
FP_CONTRACT pragmas. Patch originally by ARM.
llvm-svn: 125475
|
| |
|
|
| |
llvm-svn: 125474
|
| |
|
|
| |
llvm-svn: 125473
|
| |
|
|
| |
llvm-svn: 125468
|
| |
|
|
|
|
|
| |
implementation of co/contra-variance objc++
block pointers. // rdar://8979379.
llvm-svn: 125467
|
| |
|
|
|
|
|
| |
Stmt::const_child_range, then make a bunch of places use them instead
of the individual iterator accessors.
llvm-svn: 125450
|
| |
|
|
|
|
| |
destruction in the destructor-aliases logic. Fixes PR 9197.
llvm-svn: 125447
|
| |
|
|
|
|
|
| |
types which are contravariance in argument types and covariance
in return types. // rdar://8979379.
llvm-svn: 125445
|
| |
|
|
| |
llvm-svn: 125443
|
| |
|
|
|
|
|
|
|
|
|
| |
deeply nested calls.
Temporarily set the first (canonical) declaration as the previous one, which is the one that
matters, and mark the real previous DeclID to be loaded & attached later on.
Fixes rdar://8956193.
llvm-svn: 125434
|
| |
|
|
|
|
| |
within an 'init' method. This is a temporary stop gap to avoid false positives while we investigate how to make it smarter.
llvm-svn: 125427
|
| |
|
|
|
|
|
|
| |
message expression, just as we do with parameters.
Fixes <rdar://problem/8725041>.
llvm-svn: 125422
|
| |
|
|
|
|
|
|
| |
statement. We've never seen any other cases that were real bugs.
Fixes <rdar://problem/6962292>.
llvm-svn: 125419
|
| |
|
|
|
|
|
| |
I also sorted the tools/driver dependencies since their order no
longer matters.
llvm-svn: 125417
|
| |
|
|
|
|
| |
<rdar://problem/8405222>.
llvm-svn: 125415
|
| |
|
|
|
|
| |
Reviewed by dgregor.
llvm-svn: 125407
|
| |
|
|
| |
llvm-svn: 125399
|
| |
|
|
| |
llvm-svn: 125396
|