Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:Seq

6 struct Seq {
11 using MakeSeq = __make_integer_seq<Seq, T, N>;
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>), "");
25 static_assert(__is_same(MakeSeq<long long, 0LL>, Seq<long long>), "");
26 static_assert(__is_same(MakeSeq<long long, 1LL>, Seq<long long, 0LL>), "");
27 static_assert(__is_same(MakeSeq<long long, 2LL>, Seq<long long, 0LL, 1LL>), "");
28 static_assert(__is_same(MakeSeq<long long, 3LL>, Seq<long long, 0LL, 1LL, 2LL>), "");
29 static_assert(__is_same(MakeSeq<long long, 4LL>, Seq<long long, 0LL, 1LL, 2LL, 3LL>), "");
31 static_assert(__is_same(MakeSeq<unsigned long long, 0ULL>, Seq<unsigned long long>), "");
32 static_assert(__is_same(MakeSeq<unsigned long long, 1ULL>, Seq<unsigned long long, 0ULL>), "");
33 static_assert(__is_same(MakeSeq<unsigned long long, 2ULL>, Seq<unsigned long long, 0ULL, 1ULL>), "");
34 static_assert(__is_same(MakeSeq<unsigned long long, 3ULL>, Seq<unsigned long long, 0ULL, 1ULL, 2ULL>), "");
35 static_assert(__is_same(MakeSeq<unsigned long long, 4ULL>, Seq<unsigned long long, 0ULL, 1ULL, 2ULL, 3ULL>), "");
38 using ErrorSeq = __make_integer_seq<Seq, T, N>; // expected-error{{must have non-negative sequence length}} \