summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-05-16 15:44:42 +0000
committerAlexander Kornienko <alexfh@google.com>2017-05-16 15:44:42 +0000
commite133140fd1e5ea3a5bcadc3e594e1b613c36d9c5 (patch)
tree66868385e0d2b26bb82e47d84859f7779f56d51a /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent464cecf81e054d4523fdb2198c7fbda297d9bf90 (diff)
downloadbcm5719-llvm-e133140fd1e5ea3a5bcadc3e594e1b613c36d9c5.tar.gz
bcm5719-llvm-e133140fd1e5ea3a5bcadc3e594e1b613c36d9c5.zip
[clang-tidy] Optimize matchers in readability-implicit-bool-cast. NFC
Don't repeat `isInTemplateInstantiation()` and `hasAncestor()` unnecessarily. This speeds up the check by a factor of up to 3 on some large files. llvm-svn: 303180
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud