diff options
author | Alexander Kornienko <alexfh@google.com> | 2017-05-17 02:25:11 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2017-05-17 02:25:11 +0000 |
commit | 4d5dd3b7ef59d2abc88d3cee9c479c9be68fe0da (patch) | |
tree | 815058aca69b036bd48816326efbe52dfb2190c8 /lldb/packages/Python/lldbsuite/support/seven.py | |
parent | 98d4bd5ae8d6ee2915758337a30e8d90829995b7 (diff) | |
download | bcm5719-llvm-4d5dd3b7ef59d2abc88d3cee9c479c9be68fe0da.tar.gz bcm5719-llvm-4d5dd3b7ef59d2abc88d3cee9c479c9be68fe0da.zip |
[clang-tidy] Optimize misc-unused-parameters. NFCI
Don't traverse AST each time we need to find references to a certain function.
Traverse the AST once using RAV and cache the index of function references.
The speed up on a particular large file was about 1000x.
llvm-svn: 303230
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/seven.py')
0 files changed, 0 insertions, 0 deletions