]> granicus.if.org Git - clang/commit
[NFC] avoid AlignedCharArray in clang
authorJF Bastien <jfbastien@apple.com>
Mon, 29 Jul 2019 23:12:48 +0000 (23:12 +0000)
committerJF Bastien <jfbastien@apple.com>
Mon, 29 Jul 2019 23:12:48 +0000 (23:12 +0000)
commit6dabc75940d66b32052fc93d1c9904e5fd65fcad
treef7cf3c30bc9a99e2fbbd526bbbcd58d3e33452c7
parentcb15cf86d9f70d93d4778b85f970346280bb0978
[NFC] avoid AlignedCharArray in clang

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367274 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/Sema/Overload.h
lib/CodeGen/CGCleanup.cpp
lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/TypeLocBuilder.cpp
lib/Sema/TypeLocBuilder.h