Do not automatically run the 'missing -dealloc' check until we have adequate time to make it much smarter (too much noise).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2009-02-25 21:08:30 +00:00
Родитель 0334a4ec63
Коммит d76c6a38b8
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -227,7 +227,8 @@ class Clang_CompileTool(Tool):
cmd_args.extend(['-warn-dead-stores', cmd_args.extend(['-warn-dead-stores',
'-checker-cfref', '-checker-cfref',
'-warn-objc-methodsigs', '-warn-objc-methodsigs',
'-warn-objc-missing-dealloc', # Do not enable the missing -dealloc check.
# '-warn-objc-missing-dealloc',
'-warn-objc-unused-ivars']) '-warn-objc-unused-ivars'])
cmd_args.append('-analyzer-output=plist') cmd_args.append('-analyzer-output=plist')

Просмотреть файл

@ -120,7 +120,8 @@ my %AnalysesDefaultEnabled = (
'-warn-dead-stores' => 1, '-warn-dead-stores' => 1,
'-checker-cfref' => 1, '-checker-cfref' => 1,
'-warn-objc-methodsigs' => 1, '-warn-objc-methodsigs' => 1,
'-warn-objc-missing-dealloc' => 1, # Do not enable the missing -dealloc check by default.
# '-warn-objc-missing-dealloc' => 1,
'-warn-objc-unused-ivars' => 1, '-warn-objc-unused-ivars' => 1,
); );