This is NFC but for lifting the limitation to 10 types.
Diff Detail
Diff Detail
- Build Status
Buildable 1772 Build 1772: arc lint + arc unit
Event Timeline
llvm/include/llvm/Support/AlignOf.h | ||
---|---|---|
38–40 | How about constexpr size_t lhs = max_alignof<T0>(); constexpr size_t rhs = max_alignof<T1, Ts...>(); return std::max(lhs, rhs); |
llvm/include/llvm/Support/AlignOf.h | ||
---|---|---|
38–40 | I tried this first but got a warning because this isn't c++11 (only c++14) |
llvm/include/llvm/Support/AlignOf.h | ||
---|---|---|
38–40 | Ahh I wasn't sure if that was still C++11. |
How about