diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-11-03 17:57:38 +0000 | 
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-11-03 17:57:38 +0000 | 
| commit | f91282e1cf6871f933bc7186332f47f3d4b38b7d (patch) | |
| tree | bdaec6784f7bccdf7ca40ea5d0f5a4bbcd3f9ceb /clang/lib/CodeGen/CGCUDABuiltin.cpp | |
| parent | cc34983181a281761ae4bb7a577d6284dae23d53 (diff) | |
| download | bcm5719-llvm-f91282e1cf6871f933bc7186332f47f3d4b38b7d.tar.gz bcm5719-llvm-f91282e1cf6871f933bc7186332f47f3d4b38b7d.zip | |
Add [<chars>] to the glob matcher to eliminate use of llvm::Regex.
Previously, it didn't support the character class, so we couldn't
eliminate the use fo llvm::Regex. Now that it is supported, we
can remove compileGlobPattern, which converts a glob pattern to
a regex.
This patch contains optimization for exact/prefix/suffix matches.
Differential Revision: https://reviews.llvm.org/D26284
llvm-svn: 285949
Diffstat (limited to 'clang/lib/CodeGen/CGCUDABuiltin.cpp')
0 files changed, 0 insertions, 0 deletions

