Skip to content

[AST] Fix a few incorrectly indented lines. NFC. #18007

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/AST/GenericSignatureBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4081,7 +4081,7 @@ auto GenericSignatureBuilder::resolve(UnresolvedType paOrT,
return ResolvedType(pa);

// Determine what kind of resolution we want.
Type type = paOrT.dyn_cast<Type>();
Type type = paOrT.dyn_cast<Type>();
ArchetypeResolutionKind resolutionKind =
ArchetypeResolutionKind::WellFormed;
if (!source.isExplicit() && source.isRecursive(type, *this))
Expand Down Expand Up @@ -5087,7 +5087,7 @@ ConstraintResult GenericSignatureBuilder::addSameTypeRequirementToConcrete(
ResolvedType type,
Type concrete,
const RequirementSource *source) {
auto equivClass = type.getEquivalenceClass(*this);
auto equivClass = type.getEquivalenceClass(*this);

// Record the concrete type and its source.
equivClass->concreteTypeConstraints.push_back(
Expand Down Expand Up @@ -6472,7 +6472,7 @@ static void computeDerivedSameTypeComponents(

// If there is a concrete type, figure out the best concrete type anchor
// per component.
auto genericParams = builder.getGenericParams();
auto genericParams = builder.getGenericParams();
for (const auto &concrete : equivClass->concreteTypeConstraints) {
// Dig out the component associated with constraint.
Type subjectType = concrete.getSubjectDependentType(genericParams);
Expand Down