| commit | d7f2e34e040d048c4741586d90f42f0919f09344 | [log] [tgz] |
|---|---|---|
| author | Samuel Benzaquen <sbenza@google.com> | Fri Mar 18 20:14:35 2016 +0000 |
| committer | Samuel Benzaquen <sbenza@google.com> | Fri Mar 18 20:14:35 2016 +0000 |
| tree | 92152da6c971086b5043f641f47d14f2e7896bf3 | |
| parent | 024f4c17d15ae87c5d453c2f65dfccdbfe410908 [diff] |
[clang-tidy] Use hasAnyName() instead of matchesName(). matchesName() uses regular expressions and it is very slow. hasAnyName() gives the same result and it is much faster. A benchmark (with all the checks enabled) shows a ~5% speed up of clang-tidy. llvm-svn: 263822