| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 125705
|
| |
|
|
|
|
| |
a forward class. // rdar://8851803
llvm-svn: 125699
|
| |
|
|
|
|
| |
(KVC) and Key-Value Observing (KVO) protocols.
llvm-svn: 125696
|
| |
|
|
| |
llvm-svn: 125694
|
| |
|
|
| |
llvm-svn: 125693
|
| |
|
|
|
|
|
| |
byref variables again when passing them to inner blocks.
// rdar://9006279
llvm-svn: 125690
|
| |
|
|
| |
llvm-svn: 125688
|
| |
|
|
|
|
| |
unit's filename for debug info entries.
llvm-svn: 125672
|
| |
|
|
| |
llvm-svn: 125661
|
| |
|
|
| |
llvm-svn: 125649
|
| |
|
|
| |
llvm-svn: 125646
|
| |
|
|
| |
llvm-svn: 125644
|
| |
|
|
| |
llvm-svn: 125640
|
| |
|
|
|
|
|
|
|
|
| |
NilArgChecker
CFNumberCreateChecker
NSAutoreleasePoolChecker
CFRetainReleaseChecker
ClassReleaseChecker
llvm-svn: 125636
|
| |
|
|
|
|
|
| |
be sure to look at all of the Objective-C class declarations within a
@class. Fixes <rdar://problem/8876207>.
llvm-svn: 125635
|
| |
|
|
|
|
|
| |
Objective-C, also look in the categories and class extensions of our
superclasses. Fixes <rdar://problem/8853540>.
llvm-svn: 125628
|
| |
|
|
|
|
|
|
| |
Nobody ever gave me a clear reason for why we were doing this, and
now it's apparently causing serious problems, so if *not* having this
causes problems, we get to solve them the right way this time.
llvm-svn: 125627
|
| |
|
|
|
|
| |
Fixed rdar://8914293.
llvm-svn: 125616
|
| |
|
|
|
|
|
|
|
|
|
| |
internal checkers:
CastToStructChecker
FixedAddressChecker
PointerArithChecker
PointerSubChecker
llvm-svn: 125612
|
| |
|
|
| |
llvm-svn: 125611
|
| |
|
|
| |
llvm-svn: 125609
|
| |
|
|
|
|
|
| |
prototype, e.g., ^() rather than ^(void). Fixes
<rdar://problem/8875712>.
llvm-svn: 125608
|
| |
|
|
|
|
|
| |
better for clang to always compute the right name, but for now this hack
fixes PR9177 and lets us build firefox with LTO :-)
llvm-svn: 125607
|
| |
|
|
|
|
| |
<rdar://problem/8767704>.
llvm-svn: 125604
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
checks. These are:
CStringChecker
ChrootChecker
MallocChecker
PthreadLockChecker
StreamChecker
UnreachableCodeChecker
MallocChecker creates implicit dependencies between checkers and needs to be handled differently.
llvm-svn: 125598
|
| |
|
|
|
|
|
|
| |
separately handle the case of a local declaration-specifier list,
including all types in the set of options. Fixes
<rdar://problem/8790735> and <rdar://problem/8662831>.
llvm-svn: 125594
|
| |
|
|
| |
llvm-svn: 125590
|
| |
|
|
|
|
| |
options, enabled OpenCL extensions and default FP_CONTRACT setting.
llvm-svn: 125589
|
| |
|
|
| |
llvm-svn: 125588
|
| |
|
|
|
|
|
| |
by the code completion token, treat this as a class message send where
the opening square bracket is missing. Fixes <rdar://problem/6970911>.
llvm-svn: 125587
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 125561
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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: 125535
|
| |
|
|
|
|
| |
PR9221.
llvm-svn: 125532
|
| |
|
|
| |
llvm-svn: 125517
|
| |
|
|
|
|
| |
PR8626.
llvm-svn: 125506
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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
|
| |
|
|
|
|
| |
due to incomplete analysis of loops.
llvm-svn: 125495
|
| |
|
|
| |
llvm-svn: 125491
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 125473
|
| |
|
|
|
|
| |
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
|