Home
last modified time | relevance | path

Searched refs:NonAggregate (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxx-member-initializer-const-field.cpp91 struct NonAggregate { struct
98 NonAggregate(NonAggregate const &); // not provided, could set i and j to arbitrary values. argument
101 static int compliant1(NonAggregate c) { in compliant1() argument
105 static int compliant2(NonAggregate c) { in compliant2() argument
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddcl_init_aggr.cpp13 struct NonAggregate { struct
18 NonAggregate();
24 NonAggregate non_aggregate_test = { 1, 2 }; argument
31 NonAggregate non_aggregate_test2[2] = { { 1, 2 }, { 3, 4 } };
H A Dliteral-type.cpp40 class NonAggregate { int x; }; class
47 static_assert(__is_literal(NonAggregate), "fail");
/llvm-project-15.0.7/clang/test/CXX/drs/
H A Ddr14xx.cpp382 struct NonAggregate { struct
383 NonAggregate() {} in NonAggregate() argument
387 WantsIt(NonAggregate);
390 void f(NonAggregate);
394 NonAggregate n; in test1()
399 NonAggregate x; in test2()
400 NonAggregate y{x}; in test2()
401 NonAggregate z{{x}}; in test2()