]> granicus.if.org Git - llvm/commit
[NFC] use C++11 in AlignOf.h, remove AlignedCharArray
authorJF Bastien <jfbastien@apple.com>
Tue, 30 Jul 2019 04:03:33 +0000 (04:03 +0000)
committerJF Bastien <jfbastien@apple.com>
Tue, 30 Jul 2019 04:03:33 +0000 (04:03 +0000)
commitaa02c88d21d650415b6c44dc5e42bb2b7ec64ae8
treebd2d4563bb0088f28eeac4d2e4a5774e128dcc74
parent08a48fec3953e27472b78fd4ac421f772e217a84
[NFC] use C++11 in AlignOf.h, remove AlignedCharArray

I removed all uses of AlignedCharArray since the minimum MSVC version can handle
alignas on char arrays correctly. We can therefore remove AlignedCharArray.

This patch also updates AlignedCharArrayUnion to use C++11.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367282 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/AlignOf.h
unittests/Support/AlignOfTest.cpp