Skip to content

Commit 4d7e7db

Browse files
committed
Remove the unused TypeResolverFlags::ResolveStructure.
I removed all uses of this in a previous pull request, but my incorrect rebase onto master (following the introduction of TypeResolverContext) left the flag there. Remove it again. NFC
1 parent 58d60e2 commit 4d7e7db

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lib/Sema/TypeChecker.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -489,15 +489,11 @@ enum class TypeResolutionFlags : uint16_t {
489489
/// Whether this type resolution is guaranteed not to affect downstream files.
490490
KnownNonCascadingDependency = 1 << 8,
491491

492-
/// Whether we should resolve only the structure of the resulting
493-
/// type rather than its complete semantic properties.
494-
ResolveStructure = 1 << 9,
495-
496492
/// Whether we are at the direct base of a type expression.
497-
Direct = 1 << 10,
493+
Direct = 1 << 9,
498494

499495
/// Whether we should not produce diagnostics if the type is invalid.
500-
SilenceErrors = 1 << 11,
496+
SilenceErrors = 1 << 10,
501497
};
502498

503499
/// Type resolution contexts that require special handling.

0 commit comments

Comments
 (0)