aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-11-26 18:20:26 +0000
committerTed Kremenek <kremenek@apple.com>2007-11-26 18:20:26 +0000
commitecc04c925412f935a936226452407bf8a51ed027 (patch)
treee227223e281e47471362050c9f484c2f448fc16d /Driver/RewriteTest.cpp
parentf5f20bdf918cedb47fdd33f5b634f4908cdd3f15 (diff)
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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
0 files changed, 0 insertions, 0 deletions