| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
methods, class methods, and property implementations) and instead
place all of these entities into the DeclContext.
This eliminates more linear walks when looking for class or instance
methods and should make PCH (de-)serialization of ObjCDecls trivial
(and lazy).
llvm-svn: 69849
|
|
|
|
|
|
|
|
| |
lazy PCH deserialization. Propagate that argument wherever it needs to
be. No functionality change, except that I've tightened up a few PCH
tests in preparation.
llvm-svn: 69406
|
|
|
|
|
|
| |
SenTestCase.
llvm-svn: 64292
|
|
|
|
|
|
| |
kind 'assign'. This fixes <rdar://problem/6380411>.
llvm-svn: 60717
|
|
|
|
|
|
|
|
|
|
|
| |
uses of getName() with uses of getDeclName(). This upgrades a bunch of
diags to take DeclNames instead of std::strings.
This also tweaks a couple of diagnostics to be cleaner and changes
CheckInitializerTypes/PerformInitializationByConstructor to pass
around DeclarationNames instead of std::strings.
llvm-svn: 59947
|
|
|
|
|
|
|
| |
Issuing diagnostics when assigning to read-only properties.
This is work in progress.
llvm-svn: 59874
|
|
|
|
|
|
| |
'super'. Remove ObjCThis from PredefinedExpr
llvm-svn: 58698
|
|
|
|
|
|
| |
self.X is an implicit call to setX.
llvm-svn: 58462
|
|
|
|
|
|
|
|
| |
Fix PR 2978 false positive for missing release in -dealloc of an ivar retained via a property and then released by assigning nil to that property:
http://llvm.org/bugs/show_bug.cgi?id=2978
llvm-svn: 58431
|
|
|
|
|
|
|
|
|
| |
The attached patch adds additional checks to -warn-objc-missing-dealloc. It checks that all ivars which are used in implementation of synthesized properties are either
a) released in dealloc if the property has retain" or "copy" attribute OR
b) not released in dealloc if the property has "assign" attribute
llvm-svn: 58363
|
|
|
|
| |
llvm-svn: 54605
|
|
|
|
|
|
| |
(isObjCObjectPointerType() will never return true for selectors).
llvm-svn: 54034
|
|
|
|
|
|
| |
contains a non-SEL, non-IBOutlet ivar that references an ObjC object.
llvm-svn: 54024
|
|
|
|
|
|
| |
to an Objective-C object.
llvm-svn: 53999
|
|
|
|
|
|
| |
This fixes PR 2592: http://llvm.org/bugs/show_bug.cgi?id=2592
llvm-svn: 53987
|
|
|
|
|
|
| |
be released
llvm-svn: 53647
|
|
|
|
|
|
|
|
| |
simple bug diagnostics.
Refactored error reporting in CheckObjCDealloc and CheckObjCInstMethSignature to use this new bug reporting interface (major code simplification).
llvm-svn: 53560
|
|
|
|
| |
llvm-svn: 53473
|
|
|
|
|
|
|
|
| |
are pointers.
This patch aims to address some of the concerns of PR 2517: http://llvm.org/bugs/show_bug.cgi?id=2517
llvm-svn: 53168
|
|
|
|
| |
llvm-svn: 53100
|
|
|
|
|
|
| |
the code is compiled with GC.
llvm-svn: 53098
|
|
-dealloc, and whether or not that implementation calls [super dealloc].
llvm-svn: 53075
|