]> granicus.if.org Git - clang/commit
Switch -Wuninitialized to use a reverse-post order traversal as
authorTed Kremenek <kremenek@apple.com>
Sat, 17 Nov 2012 02:00:00 +0000 (02:00 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 17 Nov 2012 02:00:00 +0000 (02:00 +0000)
commitc1602581f7a4eab486489f09647d724ce35d3f23
tree8d4166bc9b5992272e6ed64874633f64006a2a70
parentfaf3538605ef3c5ba475639424f6f94ec4aa5179
Switch -Wuninitialized to use a reverse-post order traversal as
an initial baseline for enqueued blocks, but use a simple DFS stack
for propagating changes quickly up back edges.

This provides a 3.5% reduction in -fsyntax-only time on sqlite3.c.

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