diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-21 18:21:32 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-21 18:21:32 +0000 |
commit | 06269424e7a1a9fc2574abe26db9dc6621fcf3d7 (patch) | |
tree | 5940282c3b04eb48978712b15e2edaed741a7e48 /lib/Sema/SemaCXXCast.cpp | |
parent | 0b5810882bd34183c2b764676cafa4c2ce324740 (diff) |
^cat^cast^
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCXXCast.cpp')
-rw-r--r-- | lib/Sema/SemaCXXCast.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaCXXCast.cpp b/lib/Sema/SemaCXXCast.cpp index 40086d6eff..2fca14f9d0 100644 --- a/lib/Sema/SemaCXXCast.cpp +++ b/lib/Sema/SemaCXXCast.cpp @@ -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); } |