Turns out I did not need it after all. If we find a use for it in the future, we
can resurrect it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163457
91177308-0d34-0410-b5e6-
96231b3b80d8
NoCanonicalizeWhiteSpace("strict-whitespace",
cl::desc("Do not treat all horizontal whitespace as equivalent"));
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.
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
// Pattern Handling Code.
//===----------------------------------------------------------------------===//
}
// Check to see if this is a fixed string, or if it has regex pieces.
}
// 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;
(PatternStr.find("{{") == StringRef::npos &&
PatternStr.find("[[") == StringRef::npos)) {
FixedStr = PatternStr;