Go to file
Ted Kremenek bbad8ce2e7 Fixed bug where the CFG would fail to build when an 'if' statement had
an empty then or else block (or contained only ';' statements).

For example, we now handle the following:

int empty_else() { if (0) { int a; } else ; }
int empty_then() { if (0) ; else { int a; } }

Thanks to Nico Weber for spotting this problem.

llvm-svn: 41617
2007-08-30 18:13:31 +00:00
clang Fixed bug where the CFG would fail to build when an 'if' statement had 2007-08-30 18:13:31 +00:00
llvm Added Graphviz escaping for the '|' character. 2007-08-30 17:01:41 +00:00