[all-commits] [llvm/llvm-project] dc4f9f: [ADT] Just use a union in IntervalMap
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Sat Feb 19 11:40:16 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc4f9f0368cd56484d5e33364c06739be5ae1f1d
https://github.com/llvm/llvm-project/commit/dc4f9f0368cd56484d5e33364c06739be5ae1f1d
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2022-02-19 (Sat, 19 Feb 2022)
Changed paths:
M llvm/include/llvm/ADT/IntervalMap.h
Log Message:
-----------
[ADT] Just use a union in IntervalMap
IntervalMap has seen type-punned arrays, AlignedCharArrayUnion and
std::aligned_union_t, with varying degrees of buggyness. Plain unions
have become quite powerful, so just try that instead.
More information about the All-commits
mailing list