]> granicus.if.org Git - clang/commit
Don't warn about -Wshorten-64-to-32 in unreachable code. Fixes <rdar://problem/10759...
authorTed Kremenek <kremenek@apple.com>
Tue, 31 Jan 2012 05:37:48 +0000 (05:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 31 Jan 2012 05:37:48 +0000 (05:37 +0000)
commitfdba18263ffd624846701ad115d35edb3e2ee0a7
tree85d9a4dd211e8477b6b2099b9c8ec5ff724efe16
parent0692a1991bdb8b3112887fce90d75f2103a0080b
Don't warn about -Wshorten-64-to-32 in unreachable code.  Fixes <rdar://problem/10759934>.  Apparently this is a common idiom in Linux (among other places).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149359 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/conversion-64-32.c