diff options
author | John McCall <rjmccall@apple.com> | 2010-08-19 01:19:08 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-19 01:19:08 +0000 |
commit | 35a38d95da89d48778019c37b5f8c9a20f7e309c (patch) | |
tree | 5e7d971d3c44ec0d26c635432edd5cc902a5f748 /lib/Sema/SemaCXXCast.cpp | |
parent | c9f8aece7e111f90265dfad9a81f3f517be948de (diff) |
On second thought, don't warn about reinterpret_casts under -Wcast-align.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCXXCast.cpp')
-rw-r--r-- | lib/Sema/SemaCXXCast.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaCXXCast.cpp b/lib/Sema/SemaCXXCast.cpp index 54018005dc..b59c04a0a1 100644 --- a/lib/Sema/SemaCXXCast.cpp +++ b/lib/Sema/SemaCXXCast.cpp @@ -468,8 +468,6 @@ CheckReinterpretCast(Sema &Self, Expr *&SrcExpr, QualType DestType, != TC_Success && msg != 0) Self.Diag(OpRange.getBegin(), msg) << CT_Reinterpret << SrcExpr->getType() << DestType << OpRange; - else if (Kind == CastExpr::CK_Unknown || Kind == CastExpr::CK_BitCast) - Self.CheckCastAlign(SrcExpr, DestType, OpRange); } |