Argyrios Kyrtzidis | 43dee22 | 2011-02-14 18:13:31 +0000 | [diff] [blame^] | 1 | //===--- Checkers.td - Static Analyzer Checkers -===-----------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | include "clang/StaticAnalyzer/Checkers/CheckerBase.td" |
| 11 | |
| 12 | def Cocoa : Package<"cocoa">; |
| 13 | |
| 14 | def : Checker<"ObjCSelfInitChecker">, |
| 15 | InPackage<Cocoa>, |
| 16 | Named<"SelfInit">, |
| 17 | HelpText<"Check that 'self' is propely initialized inside an initializer method">, |
| 18 | DescFile<"ObjCSelfInitChecker.cpp">; |