]> granicus.if.org Git - clang/commit
Remove use of intrusive ref count ownership acquisition
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 4 Jan 2017 22:36:39 +0000 (22:36 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 4 Jan 2017 22:36:39 +0000 (22:36 +0000)
commite50c4ef9e9ad9238c7d4c2478e6e4fe45fa440ce
tree02b12060abb8b45a6a2d7131804c181bba2f06a9
parent88fb408d84661249cc928f5b25d7b46ddbf258cc
Remove use of intrusive ref count ownership acquisition

The one use of CheckerManager (AnalysisConsumer, calling
createCheckerManager) keeps a strong reference to the AnalysisOptions
anyway, so this ownership wasn't necessary.

(I'm not even sure AnalysisOptions needs ref counting at all - but
that's more involved)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291017 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/CheckerManager.h
lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp