summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorDeLesley Hutchins <delesley@google.com>2013-08-29 17:26:57 +0000
committerDeLesley Hutchins <delesley@google.com>2013-08-29 17:26:57 +0000
commit5533ec5c559bf8c9624916cccb148ed8d0d9494e (patch)
treee3471f8ab6d36af3f5025e9463302121929355fb /clang/lib/Format/Format.cpp
parentf5d4535a9309e0c3cfba949b01ed300047748720 (diff)
downloadbcm5719-llvm-5533ec5c559bf8c9624916cccb148ed8d0d9494e.tar.gz
bcm5719-llvm-5533ec5c559bf8c9624916cccb148ed8d0d9494e.zip
Consumed analysis: improve handling of conditionals.
Patch by chris.wailes@gmail.com. * The TestedVarsVisitor was folded into the ConsumedStmtVisitor. * The VarTestResult class was updated to allow these changes. * The PropagationInfo class was updated for the same reasons. * Correctly handle short-circuiting of Boolean operations. * Blocks are now marked as unreachable when we can statically prove we will never branch to them. * Unreachable blocks are skipped by the analysis. llvm-svn: 189594
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud