Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Commit 64c0406

Browse files
committed
Merge remote-tracking branch 'llvm/master' into upstream-with-swift
2 parents 168152f + ea2128e commit 64c0406

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/Utility/RegularExpression.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ bool RegularExpression::Execute(
2828
return m_regex.match(str, matches);
2929
}
3030

31-
bool RegularExpression::IsValid() const {
32-
std::string discarded;
33-
return m_regex.isValid(discarded);
34-
}
31+
bool RegularExpression::IsValid() const { return m_regex.isValid(); }
3532

3633
llvm::StringRef RegularExpression::GetText() const { return m_regex_text; }
3734

0 commit comments

Comments
 (0)