]> granicus.if.org Git - clang/commit
Weaken an assertion in memcpyization to account for
authorJohn McCall <rjmccall@apple.com>
Tue, 7 May 2013 05:20:46 +0000 (05:20 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 7 May 2013 05:20:46 +0000 (05:20 +0000)
commit402cd22c598b39a272f2b31b52b19d4830954e1a
tree78b59137590c0eac6db759375972081b8893fc7e
parentd20afcbe94f0daed15d040d98d2aa8ef8ed368e4
Weaken an assertion in memcpyization to account for
unnamed bitfields.

Unnamed bitfields won't have an explicit copy operation
in the AST, which breaks the strong form of the invariant.

rdar://13816940

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181289 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
test/CodeGenCXX/copy-constructor-synthesis.cpp