mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-18 09:09:12 +00:00
Revert "Add -exact-match option to FileCheck to allow clients to do exact matches without using regular expressions."
Turns out I did not need it after all. If we find a use for it in the future, we can resurrect it. llvm-svn: 163457
This commit is contained in:
parent
beadef0e28
commit
4440f8539f
@ -45,10 +45,6 @@ static cl::opt<bool>
|
||||
NoCanonicalizeWhiteSpace("strict-whitespace",
|
||||
cl::desc("Do not treat all horizontal whitespace as equivalent"));
|
||||
|
||||
static cl::opt<bool>
|
||||
NoRegex("exact-match",
|
||||
cl::desc("Look for exact matches without using regular expressions"));
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Pattern Handling Code.
|
||||
//===----------------------------------------------------------------------===//
|
||||
@ -128,7 +124,7 @@ bool Pattern::ParsePattern(StringRef PatternStr, SourceMgr &SM) {
|
||||
}
|
||||
|
||||
// Check to see if this is a fixed string, or if it has regex pieces.
|
||||
if (PatternStr.size() < 2 || NoRegex ||
|
||||
if (PatternStr.size() < 2 ||
|
||||
(PatternStr.find("{{") == StringRef::npos &&
|
||||
PatternStr.find("[[") == StringRef::npos)) {
|
||||
FixedStr = PatternStr;
|
||||
|
Loading…
Reference in New Issue
Block a user