diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-01-11 19:45:25 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-01-11 19:45:25 +0000 |
| commit | 4b7433fab23adb50d0b7c4f63f87344e858d848b (patch) | |
| tree | 22ffdbbede343688c4392ee9803e0ab5bb3b4719 /clang/lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h | |
| parent | 9c23e6c6895652eee17a8f34909cbac011f5a304 (diff) | |
| download | bcm5719-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.h | 1 |
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); |

