Introduce Regex::isLiteralERE function.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 5 Aug 2013 17:47:59 +0000 (17:47 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 5 Aug 2013 17:47:59 +0000 (17:47 +0000)
commitaa80e61b0d79ddf9593f6217063574d0c66c3099
treeb67392ed36975afce5e1c12553d94b9274dc9321
parent2a37c7e9e6059f7b5cfffce8917a49c0810d5a18
Introduce Regex::isLiteralERE function.

This will be used to implement an optimisation for literal entries
in special case lists.

Differential Revision: http://llvm-reviews.chandlerc.com/D1278

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187731 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Regex.h
lib/Support/Regex.cpp
unittests/Support/RegexTest.cpp