diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-18 21:34:07 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-18 21:34:07 +0000 |
commit | 679bf0141b81efaaf5522d59d5653dc618d016a4 (patch) | |
tree | cb1b0c9e3ae3ca8342fcd1c861149fb6369b2814 /clang/lib/Sema/SemaInit.cpp | |
parent | 84a8726a3150b4b9ceb413657bd43db8a409cb5f (diff) | |
download | bcm5719-llvm-679bf0141b81efaaf5522d59d5653dc618d016a4.tar.gz bcm5719-llvm-679bf0141b81efaaf5522d59d5653dc618d016a4.zip |
clang-format-diff.py: fix -regex/-iregex matching
While debating the finer points of file extension matching, we somehow missed
the bigger problem that the current code will match anything starting with the
default or user-specified pattern (e.g. lit.site.cfg.in).
Fix this by doing what find(1) does, implicitly wrapping the pattern with ^$.
llvm-svn: 197608
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions