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:
Holly Borla
2020-11-08 13:22:40 -08:00
committed by GitHub
14 changed files with 152 additions and 55 deletions

View File

@@ -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;