diff options
author | Alexander Kornienko <alexfh@google.com> | 2017-05-16 15:44:42 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2017-05-16 15:44:42 +0000 |
commit | e133140fd1e5ea3a5bcadc3e594e1b613c36d9c5 (patch) | |
tree | 66868385e0d2b26bb82e47d84859f7779f56d51a /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 464cecf81e054d4523fdb2198c7fbda297d9bf90 (diff) | |
download | bcm5719-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