/external/clang/test/SemaTemplate/ |
D | instantiation-depth-defarg.cpp | 3 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 …]
|
D | class-template-decl.cpp | 111 struct S { struct 112 int C; // expected-note {{here}} 115 int D; // expected-note {{here}} 116 template<typename T> struct D { // expected-error {{different kind of symbol}} 119 int E; 120 template<typename T> friend struct E { // expected-error {{cannot define a type in a friend}} 123 int F; 130 int I, J, K; 132 struct U {
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 70 void StmtProfiler::VisitStmt(const Stmt *S) { in VisitStmt() 80 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/ |
D | mangle-local-classes-nested.cpp | 16 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 …]
|
D | cxx11-unrestricted-union.cpp | 30 struct S { struct 49 S::S() {} in S() argument 56 S::S(const S&) {} in S() argument 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
|
D | member-functions.cpp | 24 struct S { struct 25 inline S() { } in S() function 26 inline ~S() { } in ~S() argument 38 void S::f() { in f() argument
|
D | bitfield.cpp | 12 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 …]
|
D | cxx0x-initializer-constructors.cpp | 3 struct S { struct 4 S(int x) { } in S() argument 5 S(int x, double y, double z) { } in S() argument
|
/external/clang/test/CodeGenObjCXX/ |
D | block-var-layout.mm | 9 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/CodeGenObjC/ |
D | block-var-layout.m | 5 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/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/ |
D | p4.cpp | 3 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/SemaObjCXX/ |
D | delay-parsing-cplusfuncs.mm | 9 struct S { struct 14 S(); argument 15 S(MyClass *O1, MyClass *O2); argument 16 S(MyClass *O1); argument 27 int S::bar(MyClass * myObject) { argument
|
/external/clang/test/CXX/special/class.init/class.base.init/ |
D | p9-0x.cpp | 3 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() function 23 S a; argument
|
D | p8-0x.cpp | 4 struct S { struct 12 …S() {} // expected-error {{constructor for 'S' must explicitly initialize the reference member 'a'… in S() argument 13 S(int) : a(n) {} // ok in S() function 14 …S(char) : b(n) {} // expected-error {{constructor for 'S' must explicitly initialize the reference… in S() function 15 S(double) : a(n), b(n) {} // ok in S() function
|
/external/clang/test/SemaObjC/ |
D | argument-checking.m | 3 struct S { int a; }; struct 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/CodeGen/ |
D | 2009-12-07-BitFieldAlignment.c | 4 struct S { struct 11 void f0(struct S *a) { in f0() argument
|
/external/clang/test/SemaCXX/ |
D | warn-dangling-field.cpp | 11 struct S { struct 14 S(int i) in S() argument 17 S(int &i) : x(i), y(&i) {} // no-warning: reference parameter in S() function 18 S(int *i) : x(*i), y(i) {} // no-warning: pointer parameter in S() function
|
D | cxx11-attr-print.cpp | 62 template <typename T> struct S { struct 77 template struct S<int>; argument
|
D | warn-unreachable.cpp | 53 struct S { in test4() struct 54 int mem; in test4() 62 struct S { in test5() struct 63 int mem; in test5() 71 struct S { in test6() struct 72 ~S() { } in test6() 73 S(int i) { } in test6() argument
|
/external/clang/test/CXX/class/class.static/class.static.data/ |
D | p3.cpp | 7 struct S { struct 21 constexpr int S::a; argument
|
/external/clang/test/PCH/ |
D | chain-cxx.cpp | 28 struct S { typedef int G; }; argument 32 struct S<T *> { typedef int H; }; struct 82 struct S<int> { typedef int I; }; argument 86 struct S<T &> { typedef int J; }; argument 90 struct S<int *> { typedef int K; }; argument 94 struct S<int &> { typedef int L; }; struct
|
/external/clang/test/Index/ |
D | index-invalid-code.m | 1 struct S { struct 4 typedef struct S S; argument
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
D | p3-0x.cpp | 39 struct S { struct 40 S(std::initializer_list<double> d) {} in S() function 41 S(std::initializer_list<int> i) {} in S() argument 42 S() {} in S() function 59 struct S { struct 60 S(int, double, double) {} in S() function 61 S() {} in S() argument 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/Parser/ |
D | colon-colon-parentheses.cpp | 6 struct S { static int a,b,c;}; struct
|
/external/compiler-rt/lib/ubsan/lit_tests/TypeCheck/ |
D | misaligned.cpp | 12 struct S { struct 13 S() {} in S() argument 23 S *s = (S*)p; in main() argument
|