]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: Fix PR number in testcase [PR101803]
authorPatrick Palka <ppalka@redhat.com>
Thu, 19 Aug 2021 13:07:02 +0000 (09:07 -0400)
committerPatrick Palka <ppalka@redhat.com>
Thu, 19 Aug 2021 13:07:02 +0000 (09:07 -0400)
Also clarify the description of CONSTRUCTOR_BRACES_ELIDED_P.

PR c++/101803

gcc/cp/ChangeLog:

* cp-tree.h (CONSTRUCTOR_IS_PAREN_INIT): Clarify comment.

gcc/testsuite/ChangeLog:

* g++.dg/cpp2a/class-deduction-aggr12.C: Fix PR number.

gcc/cp/cp-tree.h
gcc/testsuite/g++.dg/cpp2a/class-deduction-aggr12.C

index 7ba02bed0fb7bc41367c18ea7bf729b9bce9eeb8..75ee88721b4d8050f86e40ac04dbd01301b54502 100644 (file)
@@ -4503,8 +4503,8 @@ more_aggr_init_expr_args_p (const aggr_init_expr_arg_iterator *iter)
 #define CONSTRUCTOR_IS_PAREN_INIT(NODE) \
   (CONSTRUCTOR_CHECK(NODE)->base.private_flag)
 
-/* True if reshape_init built this CONSTRUCTOR to undo the brace elision
-   of another CONSTRUCTOR.  This flag is used during C++20 aggregate
+/* True if reshape_init built this sub-CONSTRUCTOR to undo the brace elision
+   of the original CONSTRUCTOR.  This flag is used during C++20 aggregate
    CTAD.  */
 #define CONSTRUCTOR_BRACES_ELIDED_P(NODE) \
   (CONSTRUCTOR_CHECK (NODE)->base.protected_flag)
index ebe73c1d81724019e60debbba2961b524879a754..3e330ac122dd3d4febb02bbd17e09a69104bc679 100644 (file)
@@ -1,4 +1,4 @@
-// PR c++/101820
+// PR c++/101803
 // { dg-do compile { target c++20 } }
 
 struct Inner { int i = 0; };