Searched refs:Aggr (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | new-array-init.cpp | 95 struct Aggr { int a, b; }; in aggr_exact() struct 96 new Aggr[2] { 1, 2, 3 }; in aggr_exact() 117 struct Aggr { int a, b; }; in aggr_sufficient() struct 118 new Aggr[n] { 1, 2, 3 }; in aggr_sufficient() 129 struct Aggr { int x, y, z; }; in unknown_bound() argument 130 new Aggr[]{1, 2, 3, 4}; in unknown_bound()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/ |
| H A D | p1.cpp | 6 struct Aggr { struct 16 Aggr ag = { b }; argument 57 struct NonAggr5 : Aggr { 67 MaybeAggr5a<Aggr> ma5a1 = {}; // ok in C++17 81 struct NonAggr5b : virtual Aggr {}; // expected-note 3{{candidate}} 85 struct NonAggr5d : protected Aggr {}; // expected-note 3{{candidate}} 87 struct NonAggr5e : private Aggr {}; // expected-note 3{{candidate}} 89 class NonAggr5f : Aggr {}; // expected-note 3{{candidate}}
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | cxx0x-initializer-aggregates.cpp | 104 struct Aggr { struct 110 Aggr ok1 { {}, {0} , {0,0} }; 111 Aggr ok2 = { {}, {0} , {0,0} }; 112 …Aggr too_many { {0} , {0} , {0,0} }; // expected-error {{no matching constructor for initializatio… 113 Aggr too_few { {} , {0} , {0} }; // expected-error {{no matching constructor for initialization}} 114 …Aggr invalid { {} , {&ok1} , {0,0} }; // expected-error {{no matching constructor for initializati…
|
| /llvm-project-15.0.7/clang/test/CodeGenCoroutines/ |
| H A D | coro-await.cpp | 180 struct Aggr { int X, Y, Z; ~Aggr(); }; argument 184 Aggr await_resume(); 188 extern "C" void UseAggr(Aggr&&); 208 Aggr Val = co_await AggrAwaiter{}; in TestAggr()
|
| H A D | coro-await-exp-namespace.cpp | 182 struct Aggr { struct 184 ~Aggr(); argument 189 Aggr await_resume(); 193 extern "C" void UseAggr(Aggr &&); 213 Aggr Val = co_await AggrAwaiter{}; in TestAggr()
|
| /llvm-project-15.0.7/clang/test/CXX/drs/ |
| H A D | dr15xx.cpp | 453 struct Aggr { int i; int j; }; argument 454 template<int N> int k(Aggr const(&)[N]); //expected-note{{not viable}} 462 int X1 = n({{1},{2},{3}},Aggr()); // OK, T is Aggr, N is 3
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 890 Value *Aggr = IVI.getAggregateOperand(); in visitInsertValueInst() local 897 ValueLatticeElement EltVal = getStructValueState(Aggr, i); in visitInsertValueInst()
|