From: Ted Kremenek Date: Tue, 1 Feb 2011 22:36:11 +0000 (+0000) Subject: Enable the self-init checker in scan-build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea6d4e7a510beb092391aff11ccb0c95cc616b32;p=clang Enable the self-init checker in scan-build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124696 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index acad2bcc59..a1fa719506 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -117,6 +117,7 @@ my %AnalysesDefaultEnabled = ( '-analyzer-check-dead-stores' => 1, '-analyzer-check-objc-mem' => 1, '-analyzer-check-objc-methodsigs' => 1, + '-analyzer-check-objc-self-init' => 1, # Do not enable the missing -dealloc check by default. # '-analyzer-check-objc-missing-dealloc' => 1, '-analyzer-check-objc-unused-ivars' => 1,