]> granicus.if.org Git - clang/commit
Fix an off-by-one mistake in IRGen's copy-construction
authorJohn McCall <rjmccall@apple.com>
Wed, 10 Apr 2019 18:07:18 +0000 (18:07 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 10 Apr 2019 18:07:18 +0000 (18:07 +0000)
commit1e9879991b8e7f6f841c2c152cac7b04d291b4c8
tree96ed940ddfaa9a7d0b5372c4e4acbbad8e7ad9e0
parent40afe0b6f2b39195e6c141d770b51a691c19000e
Fix an off-by-one mistake in IRGen's copy-construction
special cases in the presence of zero-length arrays.

Patch by Joran Bigalet!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358115 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
test/CodeGenCXX/pod-member-memcpys.cpp