summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCXXCast.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-06-21 18:21:32 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-06-21 18:21:32 +0000
commit2e9e89aa3616b2018ef59af8c598e0fb2611354f (patch)
treef082faac7a7d5b0d7648c5a10de717fc8e055da4 /clang/lib/Sema/SemaCXXCast.cpp
parentd410c08ebe2ce441d03f072058cc6e88868fb82c (diff)
downloadbcm5719-llvm-2e9e89aa3616b2018ef59af8c598e0fb2611354f.tar.gz
bcm5719-llvm-2e9e89aa3616b2018ef59af8c598e0fb2611354f.zip
^cat^cast^
llvm-svn: 133529
Diffstat (limited to 'clang/lib/Sema/SemaCXXCast.cpp')
-rw-r--r--clang/lib/Sema/SemaCXXCast.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaCXXCast.cpp b/clang/lib/Sema/SemaCXXCast.cpp
index 40086d6eff7..2fca14f9d0d 100644
--- a/clang/lib/Sema/SemaCXXCast.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud