NFC: Use 'enum class' for TypeResolutionFlags

This commit is contained in:
David Zarzycki
2017-11-22 09:12:45 -05:00
parent 115a3627c5
commit 835d1a221c
13 changed files with 251 additions and 249 deletions

View File

@@ -893,7 +893,7 @@ ConstraintSystem::getTypeOfReference(ValueDecl *value,
if (auto typeDecl = dyn_cast<TypeDecl>(value)) {
// Resolve the reference to this type declaration in our current context.
auto type = TC.resolveTypeInContext(typeDecl, nullptr, DC,
TR_InExpression,
TypeResolutionFlags::InExpression,
/*isSpecialized=*/false);
// Open the type.