aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>2018-08-30 12:42:19 +0000
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>2018-08-30 12:42:19 +0000
commit29925890d916a03b15be78067716f338afd5a9e1 (patch)
treeb6e3ba42bdb49ff3386b67f3c9612cbdc9c6349b /llvm/unittests/Support/ErrorTest.cpp
parentbf3bc7117eb66d3fbc1a93f35536c8a0120b274c (diff)
downloadllvm-29925890d916a03b15be78067716f338afd5a9e1.zip
llvm-29925890d916a03b15be78067716f338afd5a9e1.tar.gz
llvm-29925890d916a03b15be78067716f338afd5a9e1.tar.bz2
[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 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions