summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/FileCheck/FileCheck.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/FileCheck/FileCheck.cpp b/utils/FileCheck/FileCheck.cpp
index 0805504ad1..33f04ce647 100644
--- a/utils/FileCheck/FileCheck.cpp
+++ b/utils/FileCheck/FileCheck.cpp
@@ -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;