[Support] Remove llvm::alignOf now that all uses are gone.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 20 Oct 2016 15:36:38 +0000 (15:36 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 20 Oct 2016 15:36:38 +0000 (15:36 +0000)
commitabe323ef8efdde178c9d392385c63c769dd38887
treed618a7a71cc123791eedf1dc6ce3ae45e9d960fc
parentc2da631c5ae587488621a6ef71c79d5fc605ca97
[Support] Remove llvm::alignOf now that all uses are gone.

Also clean up the legacy hacks for AlignedCharArray. I'm keeping
LLVM_ALIGNAS alive for a bit longer because GCC 4.8.0 (which we still
support apparently) shipped a buggy alignas(). All other supported
compilers have a working alignas.

llvm-svn: 284736
llvm/include/llvm/Support/AlignOf.h
llvm/include/llvm/Support/Compiler.h
llvm/unittests/Support/AlignOfTest.cpp