Skip to content

Commit 526887f

Browse files
committed
Eliminate CXXExpansionInitListExpr
1 parent 55a9d03 commit 526887f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/AST/ast-print-expansion-stmts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ template <typename T>
2020
void test(T t) {
2121
// Enumerating expansion statement.
2222
//
23-
// CHECK: template for (auto x : { 1, 2, 3 }) {
23+
// CHECK: template for (auto x : {1, 2, 3}) {
2424
// CHECK-NEXT: foo(x);
2525
// CHECK-NEXT: }
2626
template for (auto x : {1, 2, 3}) {
@@ -64,7 +64,7 @@ template <typename T>
6464
void test2(T t) {
6565
// Enumerating expansion statement.
6666
//
67-
// CHECK: template for (int x : { 1, 2, 3 }) {
67+
// CHECK: template for (int x : {1, 2, 3}) {
6868
// CHECK-NEXT: foo(x);
6969
// CHECK-NEXT: }
7070
template for (int x : {1, 2, 3}) {

0 commit comments

Comments
 (0)