Home
last modified time | relevance | path

Searched refs:__is_same (Results 1 – 10 of 10) sorted by relevance

/external/clang/test/SemaCXX/
Dmake_integer_seq.cpp13 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 …]
Dlibstdcxx_is_pod_hack.cpp18 struct __is_same { // expected-warning {{keyword '__is_same' will be made available as an identifie… struct
21 __is_same<int> isi;
Dalias-template.cpp180 static_assert(__is_same(S<3>::U, X[2]), ""); // expected-error {{static_assert failed}}
Dtype-traits.cpp1710 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/
Dstatic-assert.c26 #define ASSERT_IS_TYPE(T) __is_same(T, T)
/external/clang/test/PCH/
Dcxx-traits.h54 struct __is_same {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp54 bool _is_same_result = __is_same(int, int);
/external/clang/test/Analysis/
Ddtor.cpp516 const bool IsSimple = __is_trivial(T) && __is_same(T, U); in do_copy()
/external/clang/include/clang/Basic/
DTokenKinds.def471 TYPE_TRAIT_2(__is_same, IsSame, KEYCXX)
/external/clang/lib/Parse/
DParseExpr.cpp823 REVERTIBLE_TYPE_TRAIT(__is_same); in ParseCastExpression()