When generating ctor, FieldMemcpyizer wrongly treated zero-sized class members
as what should be copied, and generated wrong memcpy size under some special
circumstances. This patch tries to fix it.
Details
Details
Diff Detail
Diff Detail
Differential D70671
[clang][CodeGen] Fix wrong memcpy size of no_unique_address in FieldMemcpyizer zsrkmyn on Nov 25 2019, 7:03 AM. Authored by
Details When generating ctor, FieldMemcpyizer wrongly treated zero-sized class members
Diff Detail |
{ on the same line of call()