[NFC] avoid AlignedCharArray in LLVM
authorJF Bastien <jfbastien@apple.com>
Mon, 29 Jul 2019 23:37:48 +0000 (23:37 +0000)
committerJF Bastien <jfbastien@apple.com>
Mon, 29 Jul 2019 23:37:48 +0000 (23:37 +0000)
commit993145f9548792dc0a46dd938da4609e94f7671c
treef30071bb909d77d3aee2fe1ff969693b97ff3725
parentd9e55fa52191d564b9ff45c14e582d94ad2a4b56
[NFC] avoid AlignedCharArray in LLVM

As discussed in D65249, don't use AlignedCharArray or std::aligned_storage. Just use alignas(X) char Buf[Size];. This will allow me to remove AlignedCharArray entirely, and works on the current minimum version of Visual Studio.

llvm-svn: 367277
llvm/include/llvm/Support/Endian.h
llvm/include/llvm/Support/TrailingObjects.h