summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-01-11 19:45:25 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-01-11 19:45:25 +0000
commit4b7433fab23adb50d0b7c4f63f87344e858d848b (patch)
tree22ffdbbede343688c4392ee9803e0ab5bb3b4719 /clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h
parent9c23e6c6895652eee17a8f34909cbac011f5a304 (diff)
downloadbcm5719-llvm-4b7433fab23adb50d0b7c4f63f87344e858d848b.tar.gz
bcm5719-llvm-4b7433fab23adb50d0b7c4f63f87344e858d848b.zip
[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'. llvm-svn: 123264
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h b/clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h
index f67371da0fc..2903f2d4cfc 100644
--- a/clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h
+++ b/clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h
@@ -46,6 +46,7 @@ void RegisterUndefResultChecker(ExprEngine &Eng);
void RegisterUndefinedArraySubscriptChecker(ExprEngine &Eng);
void RegisterUndefinedAssignmentChecker(ExprEngine &Eng);
void RegisterVLASizeChecker(ExprEngine &Eng);
+void registerObjCSelfInitChecker(ExprEngine &Eng);
// API checks.
void RegisterMacOSXAPIChecker(ExprEngine &Eng);
OpenPOWER on IntegriCloud