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

Commit

Permalink
Merge remote-tracking branch 'llvm/master' into upstream-with-swift
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-ci committed Aug 20, 2019
2 parents 168152f + ea2128e commit 64c0406
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/Utility/RegularExpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ bool RegularExpression::Execute(
return m_regex.match(str, matches);
}

bool RegularExpression::IsValid() const {
std::string discarded;
return m_regex.isValid(discarded);
}
bool RegularExpression::IsValid() const { return m_regex.isValid(); }

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

Expand Down

0 comments on commit 64c0406

Please sign in to comment.