summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/CoverageReport.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-05-15 17:06:51 +0000
committerAlexander Kornienko <alexfh@google.com>2017-05-15 17:06:51 +0000
commit7009d6571494f5f4e6590ae8b71772186a905214 (patch)
treea3c13b8c01a45fbada654068f36e2a4748ffa892 /llvm/tools/llvm-cov/CoverageReport.cpp
parentd369455bcff77d5b442db16ddb4a1261438d8b71 (diff)
downloadbcm5719-llvm-7009d6571494f5f4e6590ae8b71772186a905214.tar.gz
bcm5719-llvm-7009d6571494f5f4e6590ae8b71772186a905214.zip
[clang-tidy] Partly rewrite readability-simplify-boolean-expr using RAV
The check was using AST matchers in a very inefficient manner. By rewriting the BinaryOperator-related parts using RAV, the check was sped up by a factor of up to 10000 on some files (mostly, generated code using binary operators in tables), but also significantly sped up for regular large files. As a side effect, the code became clearer and more readable. llvm-svn: 303081
Diffstat (limited to 'llvm/tools/llvm-cov/CoverageReport.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud