Searched refs:SignedField (Results 1 – 1 of 1) sorted by relevance
/external/llvm-project/llvm/unittests/ADT/ |
D | BitFieldsTest.cpp | 145 using SignedField = Bitfield::Element<int, 1, 1>; in TEST() typedef 146 EXPECT_EQ(Bitfield::get<SignedField>(Storage), 0); in TEST() 149 Bitfield::set<SignedField>(Storage, -1); in TEST() 150 EXPECT_EQ(Bitfield::get<SignedField>(Storage), -1); in TEST() 157 using SignedField = Bitfield::Element<int, 1, 2>; in TEST() typedef 158 EXPECT_EQ(Bitfield::get<SignedField>(Storage), 0); in TEST() 161 Bitfield::set<SignedField>(Storage, 1); in TEST() 162 EXPECT_EQ(Bitfield::get<SignedField>(Storage), 1); in TEST() 165 Bitfield::set<SignedField>(Storage, -1); in TEST() 166 EXPECT_EQ(Bitfield::get<SignedField>(Storage), -1); in TEST() [all …]
|