[Diagnostics] NFC: Fix a typo in a method name: wrapedTypes -> wrappedTypes

This commit is contained in:
Pavel Yaskevich
2021-06-21 11:10:31 -07:00
parent 544c796e08
commit 0d50593f68
2 changed files with 5 additions and 5 deletions

View File

@@ -7467,7 +7467,7 @@ SourceRange CheckedCastBaseFailure::getCastRange() const {
}
std::tuple<Type, Type, unsigned>
CoercibleOptionalCheckedCastFailure::unwrapedTypes() const {
CoercibleOptionalCheckedCastFailure::unwrappedTypes() const {
SmallVector<Type, 4> fromOptionals;
SmallVector<Type, 4> toOptionals;
Type unwrappedFromType =
@@ -7484,7 +7484,7 @@ bool CoercibleOptionalCheckedCastFailure::diagnoseIfExpr() const {
Type unwrappedFrom, unwrappedTo;
unsigned extraFromOptionals;
std::tie(unwrappedFrom, unwrappedTo, extraFromOptionals) = unwrapedTypes();
std::tie(unwrappedFrom, unwrappedTo, extraFromOptionals) = unwrappedTypes();
SourceRange diagFromRange = getFromRange();
SourceRange diagToRange = getToRange();
@@ -7516,7 +7516,7 @@ bool CoercibleOptionalCheckedCastFailure::diagnoseForcedCastExpr() const {
auto toType = getToType();
Type unwrappedFrom, unwrappedTo;
unsigned extraFromOptionals;
std::tie(unwrappedFrom, unwrappedTo, extraFromOptionals) = unwrapedTypes();
std::tie(unwrappedFrom, unwrappedTo, extraFromOptionals) = unwrappedTypes();
SourceRange diagFromRange = getFromRange();
SourceRange diagToRange = getToRange();
@@ -7559,7 +7559,7 @@ bool CoercibleOptionalCheckedCastFailure::diagnoseConditionalCastExpr() const {
auto toType = getToType();
Type unwrappedFrom, unwrappedTo;
unsigned extraFromOptionals;
std::tie(unwrappedFrom, unwrappedTo, extraFromOptionals) = unwrapedTypes();
std::tie(unwrappedFrom, unwrappedTo, extraFromOptionals) = unwrappedTypes();
SourceRange diagFromRange = getFromRange();
SourceRange diagToRange = getToRange();