Searched refs:TypeAtIndex (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | STLExtrasTest.cpp | 956 TEST(STLExtrasTest, TypeAtIndex) { in TEST() argument 957 EXPECT_TRUE((std::is_same<int, llvm::TypeAtIndex<0, int>>::value)); in TEST() 958 EXPECT_TRUE((std::is_same<int, llvm::TypeAtIndex<0, int, float>>::value)); in TEST() 959 EXPECT_TRUE((std::is_same<float, llvm::TypeAtIndex<1, int, float>>::value)); in TEST() 961 (std::is_same<float, llvm::TypeAtIndex<1, int, float, double>>::value)); in TEST() 963 (std::is_same<float, llvm::TypeAtIndex<1, int, float, double>>::value)); in TEST() 965 (std::is_same<double, llvm::TypeAtIndex<2, int, float, double>>::value)); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | PointerUnion.h | 126 using First = TypeAtIndex<0, PTs...>;
|
| H A D | STLExtras.h | 207 using TypeAtIndex = std::tuple_element_t<I, std::tuple<Ts...>>;
|