]> granicus.if.org Git - clang/commit
[analyzer] Introduce ObjCSelfInitChecker, which checks initialization methods to...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Jan 2011 19:45:25 +0000 (19:45 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Jan 2011 19:45:25 +0000 (19:45 +0000)
commitd7a31ba6db617e38bb064df0ab09dbd41cdfed18
tree66d1954b21e8dc35c44447aace328af617016a7c
parent6547884b9c20096594bdc652669df82c322c5eb6
[analyzer] Introduce ObjCSelfInitChecker, which checks initialization methods to verify that they assign 'self' to the
result of an initialization call (e.g. [super init], or [self initWith..]) before using any instance variable or
returning 'self'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123264 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/ExprEngine.cpp
lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h
lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp [new file with mode: 0644]
test/Analysis/retain-release.m
test/Analysis/self-init.m [new file with mode: 0644]