]> granicus.if.org Git - clang/commitdiff
^cat^cast^
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 21 Jun 2011 18:21:32 +0000 (18:21 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 21 Jun 2011 18:21:32 +0000 (18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133529 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaCXXCast.cpp

index 40086d6eff764e0cef1eb35fa2a2df80d9419f72..2fca14f9d0d3b593db85a705db619dd30410b124 100644 (file)
@@ -642,7 +642,7 @@ CheckReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType,
     }
   } else if (tcr == TC_Success && Self.getLangOptions().ObjCAutoRefCount) {
     Expr *Exp = SrcExpr.get();
-    // Note that Exp does not change with CCK_OtherCast cat type
+    // Note that Exp does not change with CCK_OtherCast cast type
     Self.CheckObjCARCConversion(OpRange, DestType,
                                 Exp, Sema::CCK_OtherCast);
   }
@@ -708,7 +708,7 @@ CheckStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType,
       Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
     if (Self.getLangOptions().ObjCAutoRefCount) {
       Expr *Exp = SrcExpr.get();
-      // Note that Exp does not change with CCK_OtherCast cat type
+      // Note that Exp does not change with CCK_OtherCast cast type
       Self.CheckObjCARCConversion(OpRange, DestType,
                                   Exp, Sema::CCK_OtherCast);
     }