Home
last modified time | relevance | path

Searched defs:S (Results 1 – 25 of 1678) sorted by relevance

12345678910>>...68

/external/clang/test/SemaTemplate/
Dinstantiation-depth-defarg.cpp3 template<int N> struct S { struct
4 typedef typename S<N-1>::type type; argument
12 template<> struct S<0> { struct
16 // Incrementally instantiate up to S<2048>. argument
17 template struct S<128>; variable
18 template struct S<256>; variable
19 template struct S<384>; variable
20 template struct S<512>; variable
21 template struct S<640>; variable
22 template struct S<768>; variable
[all …]
/external/clang/lib/AST/
DStmtProfile.cpp71 void StmtProfiler::VisitStmt(const Stmt *S) { in VisitStmt()
81 void StmtProfiler::VisitDeclStmt(const DeclStmt *S) { in VisitDeclStmt()
87 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt()
91 void StmtProfiler::VisitCompoundStmt(const CompoundStmt *S) { in VisitCompoundStmt()
95 void StmtProfiler::VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
99 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
103 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt()
107 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
112 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt()
117 void StmtProfiler::VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-local-classes-nested.cpp16 struct S { in L1() struct
17 void L2() { in L1()
19 struct S { in L1() struct
20 void L3a() {} in L1()
25 struct S { in L1() struct
26 void L3b() {} in L1()
35 struct S { in L1() struct
36 void L2() { in L1()
38 struct S { in L1() struct
39 void L3c() {} in L1()
[all …]
Dcxx11-unrestricted-union.cpp30 struct S { struct
49 S::S() {} in S() function in S
56 S::S(const S&) {} in S() function in S
63 S::S(S&&) {} in S() function in S
67 S &S::operator=(const S&) { return *this; } in operator =()
69 S &S::operator=(S &&) { return *this; } in operator =() argument
Dexplicit-instantiation.cpp23 template<typename T> struct S { struct
24 constexpr int constexpr_function() { return 0; } in constexpr_function()
25 auto deduced_return_type() { return 0; } in deduced_return_type()
41 template struct S<char>; variable
42 template struct S<int>; variable
72 template<typename T> struct S { constexpr int f() { return 0; } }; in f() struct
98 struct S { struct
100 __attribute__((used)) constexpr int f() { return 0; } in f()
103 template struct S<int>; variable
108 template <typename T> struct S { struct
[all …]
Dbitfield.cpp12 struct __attribute__((packed)) S { struct
13 unsigned b00 : 14;
14 unsigned b01 : 2;
15 unsigned b20 : 6;
16 unsigned b21 : 2;
17 unsigned b30 : 30;
18 unsigned b31 : 2;
19 unsigned b70 : 6;
20 unsigned b71 : 2;
163 struct S { struct
[all …]
/external/clang/test/CodeGenObjC/
Dblock-var-layout.m5 struct S { struct
6 int i1;
7 id o1;
11 } v1;
12 int i3;
13 id o3;
17 void x(id y) {}
18 void y(int a) {}
20 extern id opaque_id();
45 // FIXME: do these really have to be named L_OBJC_CLASS_NAME_xxx? argument
[all …]
/external/libcxx/test/std/algorithms/alg.sorting/alg.merge/
Dinplace_merge.pass.cpp24 struct S { struct
25 S() : i_(0) {} in S() function
26 S(int i) : i_(i) {} in S() function
28 S(const S& rhs) : i_(rhs.i_) {} in S() function
29 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument
31 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument
32 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument
33 S& operator =(int i) { i_ = i; return *this; } in operator =() argument
35 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument
36 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument
[all …]
Dinplace_merge_comp.pass.cpp34 struct S { struct
35 S() : i_(0) {} in S() function
36 S(int i) : i_(i) {} in S() argument
38 S(const S& rhs) : i_(rhs.i_) {} in S() function
39 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function
41 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument
42 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument
43 S& operator =(int i) { i_ = i; return *this; } in operator =() argument
45 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument
46 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >() argument
[all …]
/external/clang/test/CodeGenObjCXX/
Dblock-var-layout.mm9 struct S { struct
10 int i1;
11 id o1;
15 } v1;
16 int i3;
17 id o3;
21 void x(id y) {}
22 void y(int a) {}
24 extern id opaque_id();
26 void f() {
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/
Dp4.cpp3 struct S { struct
4 typedef struct A {} A; // expected-note {{previous definition is here}}
5 typedef struct B B;
6 typedef A A; // expected-error {{redefinition of 'A'}}
8 struct C { };
9 typedef struct C OtherC;
10 typedef OtherC C;
12 typedef struct D { } D2;
13 typedef D2 D;
/external/clang/test/Parser/
Dcxx-ambig-init-templ.cpp7 struct S { struct
12 int k5 = T1 < b, &S::operator=(int); // expected-error {{extra qualification}} argument
16 int k9 = T3 < a < b, c >> (d), e5 = 1 > (e4);
17 int k10 = 0 < T3 < a < b, c >> (d
20 int k11 = 0 < 1, c<3>::*ptr;
21 int k12 = e < 0, int a<b<c>::* >(), e11;
47 static constexpr int (S::*f3_test)(int) = &S::f3; argument
78 template<int, int &(S::*)(int)> struct T2 { static const int val = 0; }; argument
101 struct S { struct
106 template<typename, typename> struct X { operator int(); };
[all …]
/external/clang/test/SemaObjCXX/
Ddelay-parsing-cplusfuncs.mm9 struct S { struct
14 S(); argument
15 S(MyClass *O1, MyClass *O2); argument
16 S(MyClass *O1); field
27 int S::bar(MyClass * myObject) { argument
/external/clang/test/CXX/special/class.init/class.base.init/
Dp9-0x.cpp3 struct S { struct
7 S() {} in S() argument
8 S(int a) : n(a) {} in S() function
9 S(int a, int b) : n(a), m(b) {} in S() argument
23 S a; argument
/external/clang/test/SemaCXX/
Dreturn.cpp22 struct S {}; struct
85 struct S { struct
96 struct S { struct
97 S() { in S() argument
100 ~S() { in ~S()
110 struct S { struct
111 S() { return f(); }; // expected-error {{constructor 'S' must not return void expression}} in S() argument
112 ~S() { return f(); } // expected-error {{destructor '~S' must not return void expression}} in ~S()
/external/libcxx/test/std/containers/sequences/list/list.ops/
Dremove.pass.cpp19 struct S { struct
20 S(int i) : i_(new int(i)) {} in S() function
21 S(const S &rhs) : i_(new int(*rhs.i_)) {} in S() argument
22 S& operator = (const S &rhs) { *i_ = *rhs.i_; return *this; } in operator =() argument
23 ~S () { delete i_; i_ = NULL; } in ~S() argument
24 bool operator == (const S &rhs) const { return *i_ == *rhs.i_; } in operator ==() argument
25 int get () const { return *i_; } in get()
49 std::list<S> c; in main() argument
/external/clang/test/CXX/basic/basic.scope/basic.scope.hiding/
Dp2.cpp29 struct S { S() {} }; in f() argument
39 …struct S { S() {} }; // expected-note {{candidate constructor (the implicit copy constructor) not … in f() struct
49 struct S { S() {} }; in g() struct
58 …struct S { S() {} }; // expected-note {{candidate constructor (the implicit copy constructor) not … in g() struct
/external/clang/test/OpenMP/
Dparallel_proc_bind_codegen.cpp16 struct S { struct
18 S(intptr_t a) : a(a) {} in S() argument
20 ~S() {} in ~S() argument
Dparallel_num_threads_codegen.cpp17 struct S { struct
19 S(intptr_t a) : a(a) {} in S() function
21 ~S() {} in ~S() argument
Dparallel_reduction_codegen.cpp14 struct S { struct
16 S(T a) : f(a + g) {} in S() argument
17 S() : f(g) {} in S() argument
19 S &operator&(const S &) { return *this; } in operator &() argument
20 ~S() {} in ~S() argument
Dsections_reduction_codegen.cpp14 struct S { struct
16 S(T a) : f(a + g) {} in S() argument
17 S() : f(g) {} in S() argument
19 S &operator&(const S &) { return *this; } in operator &() argument
20 ~S() {} in ~S() argument
Dfunction-attr.cpp6 struct S { struct
8 S(T a) : f(a) {} in S() function
9 S() : f() {} in S() argument
11 ~S() {} in ~S() argument
/external/clang/test/SemaObjC/
Dargument-checking.m3 struct S { int a; }; argument
5 extern int charStarFunc(char *); // expected-note{{passing argument to parameter here}} argument
11 -structMeth:(struct S)s; // expected-note{{passing argument to parameter 's' here}}
13 :(struct S)s2; // expected-note{{passing argument to parameter 's2' here}}
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
Dp3-0x.cpp39 struct S { struct
40 S(std::initializer_list<double> d) {} in S() argument
41 S(std::initializer_list<int> i) {} in S() argument
42 S() {} in S() argument
59 struct S { struct
60 S(int, double, double) {} in S() argument
61 S() {} in S() function
75 struct S { struct
76 S(std::initializer_list<double>) {} in S() function
77 S(const std::string &) {} in S() function
[all …]
/external/clang/test/PCH/
Dchain-cxx.cpp31 struct S { typedef int G; }; argument
35 struct S<T *> { typedef int H; }; argument
85 struct S<int> { typedef int I; }; argument
89 struct S<T &> { typedef int J; }; argument
93 struct S<int *> { typedef int K; }; struct
97 struct S<int &> { typedef int L; }; struct

12345678910>>...68