Simplify SubstOptions down to an OptionSet<>. NFC

We don't need the conformance any longer.

Swift SVN r30161
This commit is contained in:
Doug Gregor
2015-07-13 20:07:03 +00:00
parent 161f309975
commit f050d24573
6 changed files with 34 additions and 63 deletions

View File

@@ -696,7 +696,7 @@ ArrayRef<Substitution> BoundGenericType::getSubstitutions(
// Substitute into the type.
SubstOptions options;
if (hasTypeVariables)
options |= SubstOptions::IgnoreMissing;
options |= SubstFlags::IgnoreMissing;
auto type = Type(archetype).subst(module, substitutions, options);
if (!type)
type = ErrorType::get(module->getASTContext());