]> granicus.if.org Git - clang/commit
Remove a bunch of obscene double-buffering of BugReports in the retain/release
authorTed Kremenek <kremenek@apple.com>
Thu, 5 Feb 2009 06:50:21 +0000 (06:50 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 5 Feb 2009 06:50:21 +0000 (06:50 +0000)
commitcf70177a9cf6c35b27e73cf58f82dd4d6b0fa354
treeb8024df5debdbd540d3b6315e8313db0eedf1418
parentc1212a39e0a00f2e41d266949f1b28de087ad6ff
Remove a bunch of obscene double-buffering of BugReports in the retain/release
checker. This was previously needed because BugReport objects were previously
allocated on the stack and not owned by BugReporter. Now we can just issue them
on the fly. This change was motivated because we were seeing some weird cases
where some really long paths would get issued for bugs (particularly leaks)
because of some double-caching.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63840 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFRefCount.cpp