]> granicus.if.org Git - clang/commit
Fix subtle bug in AnalysisConsumer where we would not analyze functions whose parent
authorTed Kremenek <kremenek@apple.com>
Mon, 2 Jul 2012 20:21:48 +0000 (20:21 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 2 Jul 2012 20:21:48 +0000 (20:21 +0000)
commit371b477836f289f2e9caaab58530f187b51bc86d
treebbdf1f13383329ac98762238b1e0f1bd36c84dcf
parent56e9b0d28ed8d496a0cbd7fd0f22fbcf2f64acfa
Fix subtle bug in AnalysisConsumer where we would not analyze functions whose parent
in the call graph had been inlined but for whatever reason we did not inline some
of its callees.

Also, fix a related traversal bug where we meant to do a BFS of the callgraph but
instead were doing a DFS.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159577 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
test/Analysis/traversal-algorithm.mm