Searched refs:__is_same (Results 1 - 9 of 9) sorted by relevance
/external/clang/test/SemaCXX/ |
H A D | make_integer_seq.cpp | 13 static_assert(__is_same(MakeSeq<int, 0>, Seq<int>), ""); 14 static_assert(__is_same(MakeSeq<int, 1>, Seq<int, 0>), ""); 15 static_assert(__is_same(MakeSeq<int, 2>, Seq<int, 0, 1>), ""); 16 static_assert(__is_same(MakeSeq<int, 3>, Seq<int, 0, 1, 2>), ""); 17 static_assert(__is_same(MakeSeq<int, 4>, Seq<int, 0, 1, 2, 3>), ""); 19 static_assert(__is_same(MakeSeq<unsigned int, 0U>, Seq<unsigned int>), ""); 20 static_assert(__is_same(MakeSeq<unsigned int, 1U>, Seq<unsigned int, 0U>), ""); 21 static_assert(__is_same(MakeSeq<unsigned int, 2U>, Seq<unsigned int, 0U, 1U>), ""); 22 static_assert(__is_same(MakeSeq<unsigned int, 3U>, Seq<unsigned int, 0U, 1U, 2U>), ""); 23 static_assert(__is_same(MakeSe [all...] |
H A D | libstdcxx_is_pod_hack.cpp | 16 // Ditto for __is_same. 18 struct __is_same { // expected-warning {{keyword '__is_same' will be made available as an identifier}} struct 21 __is_same<int> isi;
|
H A D | alias-template.cpp | 180 static_assert(__is_same(S<3>::U, X[2]), ""); // expected-error {{static_assert failed}}
|
H A D | type-traits.cpp | 1710 int t01[T(__is_same(Base, Base))]; 1711 int t02[T(__is_same(Base, BaseTypedef))]; 1712 int t03[T(__is_same(TemplateClass<int, int>, TemplateAlias<int>))]; 1714 int t10[F(__is_same(Base, const Base))]; 1715 int t11[F(__is_same(Base, Base&))]; 1716 int t12[F(__is_same(Base, Derived))];
|
/external/clang/test/Sema/ |
H A D | static-assert.c | 26 #define ASSERT_IS_TYPE(T) __is_same(T, T)
|
/external/clang/test/PCH/ |
H A D | cxx-traits.h | 54 struct __is_same {}; // expected-warning {{made available}} struct in namespace:n
|
H A D | cxx-traits.cpp | 54 bool _is_same_result = __is_same(int, int);
|
/external/clang/test/Analysis/ |
H A D | dtor.cpp | 516 const bool IsSimple = __is_trivial(T) && __is_same(T, U);
|
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 670 /// '__is_same' 823 REVERTIBLE_TYPE_TRAIT(__is_same);
|
Completed in 134 milliseconds