Don't memcpy from an empty ArrayRef; the base pointer could be null, and
the C rules say memcpy can't accept a null pointer. This should fix a test failure with the ubsan buildbots.
parent
60eba816
Please register or sign in to comment
the C rules say memcpy can't accept a null pointer. This should fix a test failure with the ubsan buildbots.