aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/JSONCompilationDatabase.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-03 18:37:59 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-04 11:59:35 -0800
commit4b5dc150b9862271720b3d56a3e723a55dd81838 (patch)
treef1484cdfa9919050e7323a28e7e5cc6feee80372 /clang/lib/Tooling/JSONCompilationDatabase.cpp
parent5baef6353e8819e443d327f84edc9f2d1c8c0c9e (diff)
downloadllvm-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