/external/llvm-project/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 …]
|
/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 …]
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 71 void StmtProfiler::VisitStmt(const Stmt *S) { in VisitStmt() 82 void StmtProfiler::VisitDeclStmt(const DeclStmt *S) { in VisitDeclStmt() 88 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt() 92 void StmtProfiler::VisitCompoundStmt(const CompoundStmt *S) { in VisitCompoundStmt() 96 void StmtProfiler::VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase() 100 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt() 104 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt() 108 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt() 113 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt() 118 void StmtProfiler::VisitIfStmt(const IfStmt *S) { in VisitIfStmt() [all …]
|
/external/llvm-project/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 …]
|
/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 …]
|
/external/libabigail/tests/data/test-abidiff-exit/ |
D | qualifier-typedef-array-v1.c | 10 struct S { struct 11 const A c_a; // +const 12 volatile A v_a; // +volatile 13 restrict A r_a; // +restrict 37 void fun(struct S * s) { (void) s; } in fun() argument
|
D | qualifier-typedef-array-v0.c | 10 struct S { struct 11 A c_a; 12 A v_a; 13 A r_a; 37 void fun(struct S * s) { (void) s; } in fun() argument
|
/external/llvm-project/clang/lib/AST/ |
D | StmtProfile.cpp | 218 void StmtProfiler::VisitStmt(const Stmt *S) { in VisitStmt() 231 void StmtProfiler::VisitDeclStmt(const DeclStmt *S) { in VisitDeclStmt() 237 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt() 241 void StmtProfiler::VisitCompoundStmt(const CompoundStmt *S) { in VisitCompoundStmt() 245 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt() 249 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt() 253 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt() 258 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt() 263 void StmtProfiler::VisitIfStmt(const IfStmt *S) { in VisitIfStmt() 268 void StmtProfiler::VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt() [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/llvm-project/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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | cppcoreguidelines-pro-type-member-init-use-assignment.cpp | 7 struct S { struct 9 // CHECK-FIXES: bool b = false; argument 11 // CHECK-FIXES: char c = 0; argument 13 // CHECK-FIXES: signed char sc = 0; argument 15 // CHECK-FIXES: unsigned char uc = 0U; argument 38 S() {} in S() argument
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.merge/ |
D | inplace_merge.pass.cpp | 25 struct S { struct 26 S() : i_(0) {} in S() argument 27 S(int i) : i_(i) {} in S() function 29 S(const S& rhs) : i_(rhs.i_) {} in S() argument 30 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function 32 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 33 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 34 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 36 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 37 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument [all …]
|
D | inplace_merge_comp.pass.cpp | 35 struct S { struct 36 S() : i_(0) {} in S() argument 37 S(int i) : i_(i) {} in S() function 39 S(const S& rhs) : i_(rhs.i_) {} in S() function 40 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function 42 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 43 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 44 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 46 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 47 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >() argument [all …]
|
/external/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.merge/ |
D | inplace_merge.pass.cpp | 25 struct S { struct 26 S() : i_(0) {} in S() function 27 S(int i) : i_(i) {} in S() function 29 S(const S& rhs) : i_(rhs.i_) {} in S() argument 30 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument 32 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 33 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 34 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 36 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 37 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument [all …]
|
D | inplace_merge_comp.pass.cpp | 34 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() argument 39 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument 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/llvm-project/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/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/oss-fuzz/projects/go-json-iterator/ |
D | fuzz_json.go | 55 type S struct { struct 56 A int `json:",omitempty"` 57 B string `json:"B1,omitempty"` 58 C float64 59 D bool 60 E uint8 61 F []byte 62 G interface{} 63 H map[string]interface{} 64 I map[string]string [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | move.fail.cpp | 23 struct S { struct 24 constexpr S() : v_(0) {} in S() function 25 S(int v) : v_(v) {} in S() argument 26 constexpr S(const S &rhs) : v_(rhs.v_) {} // not trivially moveable in S() argument 27 constexpr S(const S &&rhs) : v_(rhs.v_) {} // not trivially moveable in S() function 34 static_assert (!std::is_trivially_move_constructible_v<S>, "" ); in main() argument
|
/external/llvm-project/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/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/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | move.fail.cpp | 31 struct S { struct 32 constexpr S() : v_(0) {} in S() argument 33 S(int v) : v_(v) {} in S() function 34 constexpr S(const S &rhs) : v_(rhs.v_) {} // not trivially moveable in S() function 35 constexpr S( S &&rhs) : v_(rhs.v_) {} // not trivially moveable in S() function 42 std::optional<S> o1{3}; in test() argument
|
/external/llvm-project/clang/test/SemaObjCXX/ |
D | delay-parsing-cplusfuncs.mm | 9 struct S { struct 14 S(); argument 15 S(MyClass *O1, MyClass *O2); field 16 S(MyClass *O1); field 27 int S::bar(MyClass * myObject) { argument
|
/external/clang/test/SemaObjCXX/ |
D | delay-parsing-cplusfuncs.mm | 9 struct S { struct 14 S(); argument 15 S(MyClass *O1, MyClass *O2); field 16 S(MyClass *O1); field 27 int S::bar(MyClass * myObject) { argument
|
/external/llvm-project/clang/test/Parser/ |
D | cxx-ambig-init-templ.cpp | 8 struct S { struct 13 int k5 = T1 < b, &S::operator=(int); // expected-error {{extra qualification}} argument 17 int k9 = T3 < a < b, c >> (d), e5 = 1 > (e4); 18 int k10 = 0 < T3 < a < b, c >> (d 21 int k11 = 0 < 1, c<3>::*ptr; 22 int k12 = e < 0, int a<b<c>::* >(), e11; 54 static constexpr int (S::*f3_test)(int) = &S::f3; argument 92 template<int, int &(S::*)(int)> struct T2 { static const int val = 0; }; argument 115 struct S { struct 120 template<typename, typename> struct X { operator int(); }; [all …]
|