Searched refs:S2 (Results 1 - 25 of 184) sorted by relevance

12345678

/external/clang/test/PCH/
H A Dcheck-deserializations.cpp16 struct S2 { struct
25 S2 *s2;
31 void test(S1*, S2*) {
H A Dtypes.h47 struct S2;
48 struct S2 {}; struct
/external/clang/test/SemaCXX/
H A Dout-of-line-def-mismatch.cpp9 struct S2 { struct in namespace:N2::N1
20 void N2::N1::S2::func(S1*) {} // expected-error {{out-of-line definition of 'func' does not match any declaration in 'N2::N1::S2'}}
21 void N2::N1::S2::func(C1&, unsigned, const S1*) {} // expected-error {{out-of-line definition of 'func' does not match any declaration in 'N2::N1::S2'}}
22 void N2::N1::S2::func(S1*, double) {} // expected-error {{out-of-line definition of 'func' does not match any declaration in 'N2::N1::S2'}}
23 void N2::N1::S2::func(S1, unsigned) {} // expected-error {{out-of-line definition of 'func' does not match any declaration in 'N2::N1::S2'}}
24 void N2::N1::S2
[all...]
H A Dcxx11-crashes.cpp6 struct S2 { struct in namespace:rdar12240916
7 S2(const S2&);
8 S2();
13 S2 y;
25 S2 y;
30 S2 y;
H A Dattr-aligned.cpp8 typedef struct __attribute__((aligned(8))) S2 { char c; } AS; struct
9 static_assert(alignof(S2) == 8, "attribute not propagated");
10 static_assert(alignof(struct S2) == 8, "attribute ignored");
H A Dptrtomember.cpp14 struct S2 { struct
18 int S2::*pf = &S2::bitfield; // expected-error {{address of bit-field requested}}
H A Dwarn-unused-variables.cpp94 struct S2 { struct in namespace:PR11550
95 S2() { function in struct:PR11550::S2
99 S2 makeS2();
100 void testS2(S2 a) {
101 S2 x = makeS2(); // expected-warning {{unused variable 'x'}}
102 S2 y;
103 S2 z = a; // expected-warning {{unused variable 'z'}}
144 struct S2 { struct in namespace:ctor_with_cleanups
145 S2(const S1&);
148 S2
[all...]
H A Dalignof.cpp16 struct S2 { struct
17 S2();
25 const int test6 = __alignof__(S2::x);
26 const int test7 = __alignof__(S2::s); // expected-error {{invalid application of 'alignof' to an incomplete type 'S1'}}
29 // 's2.x' should depend on the alignment of both x-within-S2 and
34 S2 s2;
H A Dnamespace.cpp24 namespace S2 { namespace in namespace:S1
37 namespace S2 { namespace in namespace:S1
50 namespace S2 { namespace in namespace:S1
/external/clang/test/CXX/class/class.nest/
H A Dp3.cpp21 struct S2 { struct in namespace:PR6107
24 struct S2::S1 { };
/external/clang/test/CodeGenCXX/
H A Dexception-spec-decay.cpp17 struct S2 { struct
29 S2 <int[10]> s2;
H A Dmicrosoft-uuidof.cpp20 struct __declspec(uuid("87654321-4321-4321-4321-ba0987654321")) S2 { };
50 // __uuidof(S2) hasn't been used globally yet, so it's emitted when it's used
97 GUID s2_1 = __uuidof(S2);
98 GUID s2_2 = __uuidof(S2);
105 const GUID& r = __uuidof(S2);
107 const GUID* p = &__uuidof(S2);
H A Dregparm.cpp19 struct S2 { struct
23 void __attribute__((regparm(3))) foo3(struct S2 a, int b);
25 void bar3(struct S2 a, int b) {
/external/clang/test/Modules/Inputs/
H A Dredecl-merge-top.h15 struct S2;
16 struct S2;
/external/chromium_org/v8/test/mjsunit/compiler/
H A Ddead-string-char-code-at.js31 var S2 = "@@string2"; variable
53 var S3 = S1 + S2;
55 assertEquals(S1, dead1(S1, S2));
56 assertEquals(S1, dead2(S1, S2));
57 assertEquals("11", dead3(S1, S2));
59 assertEquals(S2, dead1(S2, 677));
60 assertEquals(S2, dead2(S2, S3));
61 assertEquals("11", dead3(S2, S
[all...]
H A Ddead-string-char-code-at2.js31 var S2 = "@@string2"; variable
53 var S3 = S1 + S2;
55 assertEquals(S1, dead1(S1, S2));
56 assertEquals(S1, dead2(S1, S2));
57 assertEquals("11", dead3(S1, S2));
59 assertEquals(S2, dead1(S2, 677));
60 assertEquals(S2, dead2(S2, S3));
61 assertEquals("11", dead3(S2, S
[all...]
/external/llvm/include/llvm/ADT/
H A DSetOperations.h23 bool set_union(S1Ty &S1, const S2Ty &S2) { argument
26 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end();
37 /// elements that are not contained in S2.
40 void set_intersect(S1Ty &S1, const S2Ty &S2) { argument
44 if (!S2.count(E)) S1.erase(E); // Erase element if not in S2
51 S1Ty set_difference(const S1Ty &S1, const S2Ty &S2) { argument
55 if (!S2.count(*SI)) // if the element is not in set2
63 void set_subtract(S1Ty &S1, const S2Ty &S2) { argument
[all...]
/external/llvm/unittests/ADT/
H A DImmutableSetTest.cpp55 ImmutableSet<int> S2 = f.add(S, 3); local
57 EXPECT_FALSE(S2.isEmpty());
58 EXPECT_FALSE(S == S2);
59 EXPECT_TRUE(S != S2);
61 EXPECT_TRUE(S2.contains(3));
62 EXPECT_FALSE(S2.begin() == S2.end());
63 EXPECT_TRUE(S2.begin() != S2.end());
73 EXPECT_FALSE(S2
83 ImmutableSet<int> S2 = f.add(f.add(f.add(S, 3), 4), 5); local
121 ImmutableSet<int> S2 = f.add(f.add(S, 4), 5); local
144 ImmutableSet<char> S2 = f.add(f.add(f.add(S, 'a'), 'e'), 'i'); local
156 ImmutableSet<char> S2 = f.add(f.add(f.add(S, 'b'), 'c'), 'd'); local
179 ImmutableSet<long> S2 = f.add(f.add(f.add(S, 0), 1), 2); local
[all...]
H A DImmutableMapTest.cpp34 ImmutableMap<int, int> S2 = f.add(f.add(f.add(S, 3, 10), 4, 11), 5, 12); local
37 EXPECT_FALSE(S2.isEmpty());
42 EXPECT_EQ(10, *S2.lookup(3));
43 EXPECT_EQ(11, *S2.lookup(4));
44 EXPECT_EQ(12, *S2.lookup(5));
46 EXPECT_EQ(5, S2.getMaxElement()->first);
47 EXPECT_EQ(3U, S2.getHeight());
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp8.cpp18 struct S2 { struct
23 void S2::f(int i) {
/external/clang/test/Index/Inputs/
H A Dt1.c15 struct S2 { struct
22 ((struct S2 *)0)->x = 0;
/external/clang/test/Index/
H A Dannotate-tokens.cpp17 struct S2 { S1 *operator->(); }; struct
18 void test3(S2 s2) {
111 // CHECK: Keyword: "struct" [17:1 - 17:7] StructDecl=S2:17:8 (Definition)
112 // CHECK: Identifier: "S2" [17:8 - 17:10] StructDecl=S2:17:8 (Definition)
113 // CHECK: Punctuation: "{" [17:11 - 17:12] StructDecl=S2:17:8 (Definition)
120 // CHECK: Punctuation: ";" [17:29 - 17:30] StructDecl=S2:17:8 (Definition)
121 // CHECK: Punctuation: "}" [17:31 - 17:32] StructDecl=S2:17:8 (Definition)
126 // CHECK: Identifier: "S2" [18:12 - 18:14] TypeRef=struct S2
[all...]
/external/clang/test/OpenMP/
H A Dparallel_firstprivate_messages.cpp12 class S2 { class
15 S2():a(0) { } function in class:S2
16 S2(S2 &s2):a(s2.a) { } function in class:S2
20 const float S2::S2sc = 0;
21 const S2 b;
22 const S2 ba[5];
70 #pragma omp parallel firstprivate(S2::S2s)
71 #pragma omp parallel firstprivate(S2::S2sc)
H A Dparallel_copyin_messages.cpp11 class S2 { class
14 S2():a(0) { } function in class:S2
15 S2 & operator =(S2 &s2) { return *this; }
44 S2 k;
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp3.cpp60 struct S2 { struct in struct:PR7979::S
68 template void S<int>::S2::h();
73 template <typename T> void S<T>::S2::h() {}

Completed in 706 milliseconds

12345678