diff --git a/clang/utils/scan-build b/clang/utils/scan-build index bef022ba3d2e..dbf7b6947b88 100755 --- a/clang/utils/scan-build +++ b/clang/utils/scan-build @@ -110,7 +110,8 @@ my %AnalysesDefaultEnabled = ( '-checker-cfref' => 1, '-warn-objc-methodsigs' => 1, '-warn-objc-missing-dealloc' => 1, - '-warn-objc-unused-ivars' => 1 + '-warn-objc-unused-ivars' => 1, + '-warn-objc-nserror-methods' => 1 ); ##----------------------------------------------------------------------------##