Fix typos.

This commit is contained in:
practicalswift
2015-12-15 13:54:09 +01:00
parent 10a8f4e3f9
commit 8ab8847684
101 changed files with 161 additions and 161 deletions

View File

@@ -1821,10 +1821,10 @@ private:
bool isClassElementTypeArray(SILValue Arr) {
auto Ty = Arr.getType().getSwiftRValueType();
auto Cannonical = Ty.getCanonicalTypeOrNull();
if (Cannonical.isNull())
auto Canonical = Ty.getCanonicalTypeOrNull();
if (Canonical.isNull())
return false;
auto *Struct = Cannonical->getStructOrBoundGenericStruct();
auto *Struct = Canonical->getStructOrBoundGenericStruct();
assert(Struct && "Array must be a struct !?");
if (Struct) {
// No point in hoisting generic code.