diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-25 17:23:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-25 17:23:43 +0000 |
commit | b16ab0c40a642f07731a66041343c389b394a23d (patch) | |
tree | 104f165e52eab1d452a7dda8ff33bea6f98d4284 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | c72134269f27f775b49063a9c4f1ff8736ce9eec (diff) | |
download | bcm5719-llvm-b16ab0c40a642f07731a66041343c389b394a23d.tar.gz bcm5719-llvm-b16ab0c40a642f07731a66041343c389b394a23d.zip |
reimplement the regex matching strategy by building a single
regex and matching it instead of trying to match chunks at a time.
Matching chunks at a time broke with check lines like
CHECK: foo {{.*}}bar
because the .* would eat the entire rest of the line and bar would
never match.
Now we just escape the fixed strings for the user, so that something
like:
CHECK: a() {{.*}}???
is matched as:
CHECK: {{a\(\) .*\?\?\?}}
transparently "under the covers".
llvm-svn: 82779
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
0 files changed, 0 insertions, 0 deletions