mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[upstream_utils] Upgrade to LLVM 22.1.6 (#8919)
This commit is contained in:
@@ -12,9 +12,9 @@ using namespace wpi::util;
|
||||
|
||||
namespace {
|
||||
|
||||
typedef PointerUnion<int *, float *> PU;
|
||||
typedef PointerUnion<int *, float *, long long *> PU3;
|
||||
typedef PointerUnion<int *, float *, long long *, double *> PU4;
|
||||
using PU = PointerUnion<int *, float *>;
|
||||
using PU3 = PointerUnion<int *, float *, long long *>;
|
||||
using PU4 = PointerUnion<int *, float *, long long *, double *>;
|
||||
|
||||
struct PointerUnionTest : public testing::Test {
|
||||
float f;
|
||||
@@ -116,9 +116,9 @@ TEST_F(PointerUnionTest, Get) {
|
||||
|
||||
template<int I> struct alignas(8) Aligned {};
|
||||
|
||||
typedef PointerUnion<Aligned<0> *, Aligned<1> *, Aligned<2> *, Aligned<3> *,
|
||||
Aligned<4> *, Aligned<5> *, Aligned<6> *, Aligned<7> *>
|
||||
PU8;
|
||||
using PU8 =
|
||||
PointerUnion<Aligned<0> *, Aligned<1> *, Aligned<2> *, Aligned<3> *,
|
||||
Aligned<4> *, Aligned<5> *, Aligned<6> *, Aligned<7> *>;
|
||||
|
||||
TEST_F(PointerUnionTest, ManyElements) {
|
||||
Aligned<0> a0;
|
||||
|
||||
Reference in New Issue
Block a user