summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CheckObjCDealloc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* rename PreDefinedExpr -> PredefinedExprChris Lattner2008-08-101-2/+2
| | | | llvm-svn: 54605
* Remove call to isSEL and isSEL itself since the call is dead ↵Ted Kremenek2008-07-251-10/+1
| | | | | | (isObjCObjectPointerType() will never return true for selectors). llvm-svn: 54034
* Only warn about missing/incomplete -dealloc implementations when a class ↵Ted Kremenek2008-07-251-6/+7
| | | | | | contains a non-SEL, non-IBOutlet ivar that references an ObjC object. llvm-svn: 54024
* Use ASTContext::isObjCObjectPointerType() to check if an ivar is a reference ↵Ted Kremenek2008-07-241-3/+3
| | | | | | to an Objective-C object. llvm-svn: 53999
* Don't issue a missing +dealloc warning for classes that just contain SEL ivars.Ted Kremenek2008-07-241-1/+10
| | | | | | This fixes PR 2592: http://llvm.org/bugs/show_bug.cgi?id=2592 llvm-svn: 53987
* For the MissingDealloc check, don't treat IBOutlet ivars as being needed to ↵Ted Kremenek2008-07-151-2/+4
| | | | | | be released llvm-svn: 53647
* Added method "EmitBasicReport" to BugReporter to simplify the emission of ↵Ted Kremenek2008-07-141-32/+11
| | | | | | | | simple bug diagnostics. Refactored error reporting in CheckObjCDealloc and CheckObjCInstMethSignature to use this new bug reporting interface (major code simplification). llvm-svn: 53560
* Fix comment.Ted Kremenek2008-07-111-2/+3
| | | | llvm-svn: 53473
* Do not emit a "missing -dealloc" warning if a class contains no ivars that ↵Ted Kremenek2008-07-071-3/+19
| | | | | | | | 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
* Skip the "-dealloc" check if a ObjC class contains no ivars.Ted Kremenek2008-07-031-2/+7
| | | | llvm-svn: 53100
* For the -dealloc checker, check the LangOptions to determine whether or not ↵Ted Kremenek2008-07-031-4/+14
| | | | | | the code is compiled with GC. llvm-svn: 53098
* Added static analysis check to see if a subclass of NSObject implements ↵Ted Kremenek2008-07-031-0/+118
-dealloc, and whether or not that implementation calls [super dealloc]. llvm-svn: 53075
OpenPOWER on IntegriCloud