HomePhabricator

ADT: Stop peeking inside AlignedCharArrayUnion, NFC

Authored by dexonsmith on Dec 2 2020, 1:44 PM.

Description

ADT: Stop peeking inside AlignedCharArrayUnion, NFC

Update all the users of AlignedCharArrayUnion to stop peeking inside
(to look at buffer) so that a follow-up patch can replace it with an
alias to std::aligned_union_t.

This was reviewed as part of https://reviews.llvm.org/D92512, but I'm
splitting this bit out to commit first to reduce churn in case the
change to AlignedCharArrayUnion needs to be reverted for some
unexpected reason.

Details

Committed
dexonsmithDec 4 2020, 11:07 AM
Parents
rGf9c3954a6ec5: Fix for Bug 48055.
Branches
Unknown
Tags
Unknown