You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// since-cxx14-warning@-1 {{lifetime extension of temporary created by aggregate initialization using a default member initializer is not supported; lifetime of temporary will terminate at the end of the full-expression}}
475
+
// since-cxx14-warning@-1 {{lifetime extension of temporary created by aggregate initialization using a default member initializer is not yet supported; lifetime of temporary will end at the end of the full-expression}}
476
476
// since-cxx14-note@#dr1696-D1-a {{initializing field 'a' with default member initializer}}
Copy file name to clipboardExpand all lines: clang/test/CXX/drs/dr18xx.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ namespace dr1815 { // dr1815: no
56
56
// FIXME: needs codegen test
57
57
structA { int &&r = 0; }; // #dr1815-A
58
58
A a = {};
59
-
// since-cxx14-warning@-1 {{lifetime extension of temporary created by aggregate initialization using a default member initializer is not supported; lifetime of temporary will terminate at the end of the full-expression}} FIXME
59
+
// since-cxx14-warning@-1 {{lifetime extension of temporary created by aggregate initialization using a default member initializer is not yet supported; lifetime of temporary will end at the end of the full-expression}} FIXME
60
60
// since-cxx14-note@#dr1815-A {{initializing field 'r' with default member initializer}}
Copy file name to clipboardExpand all lines: clang/test/SemaCXX/constexpr-default-arg.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,6 @@ void test_default_arg2() {
33
33
// Check that multiple CXXDefaultInitExprs don't cause an assertion failure.
34
34
structA { int &&r = 0; }; // expected-note 2{{default member initializer}}
35
35
structB { A x, y; };
36
-
B b = {}; // expected-warning 2{{not supported}}
36
+
B b = {}; // expected-warning 2{{lifetime extension of temporary created by aggregate initialization using a default member initializer is not yet supported}}
Copy file name to clipboardExpand all lines: clang/test/SemaCXX/eval-crashes.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ namespace pr33140_2 {
29
29
// temporaries.
30
30
structA { int &&r = 0; }; // expected-note 2{{initializing field 'r' with default member initializer}}
31
31
structB { A x, y; };
32
-
B b = {}; // expected-warning 2{{not supported}}
32
+
B b = {}; // expected-warning 2{{lifetime extension of temporary created by aggregate initialization using a default member initializer is not yet supported}}
0 commit comments