mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #34399 from hborla/optimize-linked-operator-solving
[Constraint System] Implement heuristics for linked operator expressions in the solver proper.
This commit is contained in:
@@ -5328,6 +5328,12 @@ public:
|
||||
SmallVectorImpl<unsigned> &Ordering,
|
||||
SmallVectorImpl<unsigned> &PartitionBeginning);
|
||||
|
||||
/// The overload sets that have already been resolved along the current path.
|
||||
const llvm::MapVector<ConstraintLocator *, SelectedOverload> &
|
||||
getResolvedOverloads() const {
|
||||
return ResolvedOverloads;
|
||||
}
|
||||
|
||||
/// If we aren't certain that we've emitted a diagnostic, emit a fallback
|
||||
/// diagnostic.
|
||||
void maybeProduceFallbackDiagnostic(SolutionApplicationTarget target) const;
|
||||
|
||||
Reference in New Issue
Block a user