summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/FormatVariadicTest.cpp
diff options
context:
space:
mode:
authorChijun Sima <simachijun@gmail.com>2018-07-12 04:08:14 +0000
committerChijun Sima <simachijun@gmail.com>2018-07-12 04:08:14 +0000
commit2e334e065d14ab1a0ec2762f347b0ad5357af0de (patch)
tree2c3c715ea3579abc14a27898fda2b37ec3d2e3a9 /llvm/unittests/Support/FormatVariadicTest.cpp
parentb86031819836fcf0e375c01f8a6439e54ca996d2 (diff)
downloadbcm5719-llvm-2e334e065d14ab1a0ec2762f347b0ad5357af0de.tar.gz
bcm5719-llvm-2e334e065d14ab1a0ec2762f347b0ad5357af0de.zip
[Dominators] Add isUpdateLazy() method to the DomTreeUpdater
Summary: Previously, when people need to deal with DTU with different UpdateStrategy using different actions, they need to ``` if (DTU.getUpdateStrategy() == DomTreeUpdater::UpdateStrategy::Lazy) { ... } if (DTU.getUpdateStrategy() == DomTreeUpdater::UpdateStrategy::Eager) { ... } ``` After the patch, they can avoid code patterns above ``` if (DTU.isUpdateLazy()){ ... } if (!DTU.isUpdateLazy()){ ... } ``` Reviewers: kuhar, brzycki, dmgreen Reviewed By: kuhar Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D49056 llvm-svn: 336886
Diffstat (limited to 'llvm/unittests/Support/FormatVariadicTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud