mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
change to the new llvm::Optional APIs
This is a follow-up of https://github.com/apple/swift/pull/62217
This commit is contained in:
@@ -880,7 +880,7 @@ bool ConjunctionStep::attempt(const ConjunctionElement &element) {
|
||||
CS.Timer.emplace(element.getLocator(), CS);
|
||||
}
|
||||
|
||||
assert(!ModifiedOptions.hasValue() &&
|
||||
assert(!ModifiedOptions.has_value() &&
|
||||
"Previously modified options should have been restored in resume");
|
||||
if (CS.isForCodeCompletion() &&
|
||||
!element.mightContainCodeCompletionToken(CS)) {
|
||||
|
||||
Reference in New Issue
Block a user