diff options
| author | Alexander Kornienko <alexfh@google.com> | 2017-05-15 17:06:51 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2017-05-15 17:06:51 +0000 |
| commit | 7009d6571494f5f4e6590ae8b71772186a905214 (patch) | |
| tree | a3c13b8c01a45fbada654068f36e2a4748ffa892 /llvm/docs/CommandGuide/llvm-profdata.rst | |
| parent | d369455bcff77d5b442db16ddb4a1261438d8b71 (diff) | |
| download | bcm5719-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/docs/CommandGuide/llvm-profdata.rst')
0 files changed, 0 insertions, 0 deletions

