зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
0334a4ec63
Коммит
d76c6a38b8
|
@ -227,7 +227,8 @@ class Clang_CompileTool(Tool):
|
|||
cmd_args.extend(['-warn-dead-stores',
|
||||
'-checker-cfref',
|
||||
'-warn-objc-methodsigs',
|
||||
'-warn-objc-missing-dealloc',
|
||||
# Do not enable the missing -dealloc check.
|
||||
# '-warn-objc-missing-dealloc',
|
||||
'-warn-objc-unused-ivars'])
|
||||
|
||||
cmd_args.append('-analyzer-output=plist')
|
||||
|
|
|
@ -120,7 +120,8 @@ my %AnalysesDefaultEnabled = (
|
|||
'-warn-dead-stores' => 1,
|
||||
'-checker-cfref' => 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,
|
||||
);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче