We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f186c9 commit 35a8d82Copy full SHA for 35a8d82
clang/test/Analysis/initializer.cpp
@@ -445,7 +445,7 @@ void nested_aggregates() {
445
}
446
} // namespace newexpr_init_list_initialization
447
448
-namespace initializer_list_arg {
+namespace placement_new_initializer_list_arg {
449
struct S {
450
int x;
451
};
@@ -470,7 +470,7 @@ void initialize_non_zeroth_argument_pointers(S *arr[2]) {
470
arr[1] = new (arr[1]) S{1};
471
clang_analyzer_eval(1 == arr[1]->x); // expected-warning{{TRUE}}
472
473
-} // namespace initializer_list_arg
+} // namespace placement_new_initializer_list_arg
474
475
namespace CXX17_transparent_init_list_exprs {
476
class A {};
0 commit comments