]> granicus.if.org Git - clang/commit
-Wdynamic-class-memaccess: Also warn about array types.
authorNico Weber <nicolasweber@gmx.de>
Sat, 21 Mar 2015 17:56:44 +0000 (17:56 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 21 Mar 2015 17:56:44 +0000 (17:56 +0000)
commit4faaf80dcbf0bff4d0e74ceaa23b565d035ca333
treec18e80458c63aad1c6f4e9443fe44b2810151d1c
parenta09d43eebb9c84e604c4892f468d63e76ebd76c4
-Wdynamic-class-memaccess: Also warn about array types.

It looks like not warning on this was an oversight in the original
implementation of this warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232900 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/SemaCXX/warn-bad-memaccess.cpp
test/SemaCXX/warn-memset-bad-sizeof.cpp