summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-18 21:34:07 +0000
committerAlp Toker <alp@nuanti.com>2013-12-18 21:34:07 +0000
commit1b63f0d8196271129941958e93cb5f6dd3bde265 (patch)
treed1111c5eaef183438e200d6a20d74429d46caa91 /lib/CodeGen/CodeGenFunction.cpp
parent2dd9321fe249afccc5b58570b855db57d6e55bd0 (diff)
downloadclang-1b63f0d8196271129941958e93cb5f6dd3bde265.tar.gz
clang-1b63f0d8196271129941958e93cb5f6dd3bde265.tar.bz2
clang-1b63f0d8196271129941958e93cb5f6dd3bde265.tar.xz
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 ^$. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions