]> granicus.if.org Git - clang/commit
Fix a crash in Retain Count checker error reporting
authorAnna Zaks <ganna@apple.com>
Fri, 13 Jun 2014 23:47:38 +0000 (23:47 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 13 Jun 2014 23:47:38 +0000 (23:47 +0000)
commit71cb4aa32fab71646f152dcfcf8e2a04607e25b1
tree7908bd2db3ec31a52ee14f7570295ed350ad954a
parent31c3b80b5f6bb2e6597f660d27cfe5d34146f53b
Fix a crash in Retain Count checker error reporting

Fixes a crash in Retain Count checker error reporting logic by handing
the allocation statement retrieval from a BlockEdge program point.

Also added a simple CFG dump routine for debugging.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210960 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/CFG.h
lib/Analysis/CFG.cpp
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
test/Analysis/objc-radar17039661.m [new file with mode: 0644]