Searched refs:__is_same (Results 1 – 10 of 10) sorted by relevance
/external/clang/test/SemaCXX/ |
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(MakeSeq<unsigned int, 4U>, Seq<unsigned int, 0U, 1U, 2U, 3U>), ""); [all …]
|
D | libstdcxx_is_pod_hack.cpp | 18 struct __is_same { // expected-warning {{keyword '__is_same' will be made available as an identifie… struct 21 __is_same<int> isi;
|
D | alias-template.cpp | 180 static_assert(__is_same(S<3>::U, X[2]), ""); // expected-error {{static_assert failed}}
|
D | type-traits.cpp | 1710 int t01[T(__is_same(Base, Base))]; in is_same() 1711 int t02[T(__is_same(Base, BaseTypedef))]; in is_same() 1712 int t03[T(__is_same(TemplateClass<int, int>, TemplateAlias<int>))]; in is_same() 1714 int t10[F(__is_same(Base, const Base))]; in is_same() 1715 int t11[F(__is_same(Base, Base&))]; in is_same() 1716 int t12[F(__is_same(Base, Derived))]; in is_same()
|
/external/clang/test/Sema/ |
D | static-assert.c | 26 #define ASSERT_IS_TYPE(T) __is_same(T, T)
|
/external/clang/test/PCH/ |
D | cxx-traits.h | 54 struct __is_same {}; // expected-warning {{made available}} struct
|
D | cxx-traits.cpp | 54 bool _is_same_result = __is_same(int, int);
|
/external/clang/test/Analysis/ |
D | dtor.cpp | 516 const bool IsSimple = __is_trivial(T) && __is_same(T, U); in do_copy()
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 471 TYPE_TRAIT_2(__is_same, IsSame, KEYCXX)
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 823 REVERTIBLE_TYPE_TRAIT(__is_same); in ParseCastExpression()
|