diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-12-03 18:37:59 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-12-04 11:59:35 -0800 |
commit | 4b5dc150b9862271720b3d56a3e723a55dd81838 (patch) | |
tree | f1484cdfa9919050e7323a28e7e5cc6feee80372 /clang/lib/Tooling/JSONCompilationDatabase.cpp | |
parent | 5baef6353e8819e443d327f84edc9f2d1c8c0c9e (diff) | |
download | llvm-4b5dc150b9862271720b3d56a3e723a55dd81838.zip llvm-4b5dc150b9862271720b3d56a3e723a55dd81838.tar.gz llvm-4b5dc150b9862271720b3d56a3e723a55dd81838.tar.bz2 |
ADT: Change AlignedCharArrayUnion to an alias of std::aligned_union_t, NFC
All the users of `AlignedCharArrayUnion` were changed in
5b267fb7966157e0d79ea85cbc1d07f92f840d3c to stop peeking inside (to look
at `buffer`), so this finishes gutting it. It's now an alias of
`std::aligned_union_t`, with a minor difference in template parameters
(`std::aligned_union_t` takes a minimum size and 0+ types, whereas this
just takes 1+ types... maybe a bit simpler to use correctly?).
A follow up will remove `AlignedCharArrayUnion` entirely, inlining this
alias into its users.
Differential Revision: https://reviews.llvm.org/D92512
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions