[analyzer] [NFC] Minor refactoring of RetainCountDiagnostics
authorGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 30 Nov 2018 02:18:23 +0000 (02:18 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 30 Nov 2018 02:18:23 +0000 (02:18 +0000)
commit62db886062f841cb84fca6d32ec7cc91931400a2
tree270e6a5b44317f8903484cb3bfc603d687dd0287
parent3bdbeb155b3fd30e86df2accc324595fa06a47a5
[analyzer] [NFC] Minor refactoring of RetainCountDiagnostics

Move visitors to the implementation file, move a complicated logic into
a function.

Differential Revision: https://reviews.llvm.org/D55036

llvm-svn: 347946
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h
clang/test/Analysis/osobject-retain-release.cpp