diff options
author | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-08-30 12:42:19 +0000 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-08-30 12:42:19 +0000 |
commit | 29925890d916a03b15be78067716f338afd5a9e1 (patch) | |
tree | b6e3ba42bdb49ff3386b67f3c9612cbdc9c6349b /lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp | |
parent | bf3bc7117eb66d3fbc1a93f35536c8a0120b274c (diff) | |
download | bcm5719-llvm-29925890d916a03b15be78067716f338afd5a9e1.tar.gz bcm5719-llvm-29925890d916a03b15be78067716f338afd5a9e1.zip |
[clang-tidy] Use simple string matching instead of Regex
Instead of parsing and compiling the `llvm::Regex` each time, it's
faster to use basic string matching for filename prefix check.
Reviewed by: hokein
Differential Revision: https://reviews.llvm.org/D51360
llvm-svn: 341061
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp')
0 files changed, 0 insertions, 0 deletions