]> granicus.if.org Git - clang/commit
When doing reachability analysis for warnings issued under DiagRuntimeBehavior, don...
authorTed Kremenek <kremenek@apple.com>
Thu, 10 Mar 2011 03:50:34 +0000 (03:50 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 10 Mar 2011 03:50:34 +0000 (03:50 +0000)
commit0d28d360b5559abda755e50b855ba5e59727d9cd
tree51890a6ad004bbc62e394584103d384a9121967d
parentd5e3ed085032def4ac875d64cb029fc3926652ed
When doing reachability analysis for warnings issued under DiagRuntimeBehavior, don't construct a ParentMap or CFGStmtMap.
Instead, create a small set of Stmt* -> CFGBlock* mappings during CFG construction for only the statements we care about
relating to the diagnostics we want to check for reachability.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127396 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/AnalysisContext.h
include/clang/Analysis/CFG.h
lib/Analysis/AnalysisContext.cpp
lib/Analysis/CFG.cpp
lib/Sema/AnalysisBasedWarnings.cpp