diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-11-26 18:20:26 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-11-26 18:20:26 +0000 |
commit | 138988765ccec41a90a0c2455cd40610a8d5ecd0 (patch) | |
tree | 59d017843a83f858db00a69e686b00441dae17d5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 8da1db4f34a5ab0e86cd50636486eb82443ee163 (diff) | |
download | bcm5719-llvm-138988765ccec41a90a0c2455cd40610a8d5ecd0.tar.gz bcm5719-llvm-138988765ccec41a90a0c2455cd40610a8d5ecd0.zip |
Fixed bug in CFG construction where we did not properly handle the GCC
extension "?:" for the ternary operator, e.g.: x ?: y; This expression is
represented in the clang ASTs as a ConditionalOperator whose LHS expression is
NULL. Now we handle this special case, causing the block containing the
condition to be a predecessor to the block that "merges" the values of the
ternary operator.
Thanks to Nuno Lopes for identifying and diagnosing this bug!
llvm-svn: 44327
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions