]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
comment tweaks
authorJason Merrill <jason@redhat.com>
Thu, 3 Nov 2022 19:59:38 +0000 (15:59 -0400)
committerJason Merrill <jason@redhat.com>
Thu, 3 Nov 2022 21:33:27 +0000 (17:33 -0400)
gcc/testsuite/g++.dg/contracts/contracts-nested-class1.C
gcc/testsuite/g++.dg/contracts/contracts-redecl2.C
libstdc++-v3/include/experimental/contract
libstdc++-v3/src/experimental/Makefile.am

index 05c1cf131c446d34e8f252a4c91eb01de020c4fe..9f91ff499d011ed63e3086d89d9fbc3abc7b3b15 100644 (file)
@@ -12,9 +12,6 @@ struct Outer {
   void fn(int m) [[ pre: m > 1 ]];
   friend void Inner::fn(int n) [[ pre: n > 0 && bob > 1 ]]; // { dg-error "not declared" }
 
-  // FIXME: These functions are merged together with no diagnostic. We get an
-  // error about 'p' not being declared because the contracts haven't been
-  // unified or remapped.
   friend void gfn(int p) [[ pre: p > 0 ]];
   friend void gfn(int q) [[ pre: q > 1 ]]; // { dg-error "'q' was not declared" }
 
index a9ac7fc60de3826ba0d58755976aefa7eedb467d..70c9259049fa1b56946b6b95d601a622df404ac6 100644 (file)
@@ -1,5 +1,4 @@
 // generic error tests for generalized contract redecls
-// FIXME: merge into contracts-redecl1
 // { dg-do compile }
 // { dg-options "-std=c++2a -fcontracts" }
 
index 16f3fd5fd5a256023cbc4d735a87dd888e40ae18..2fa8ecf53f6f7dec1e09fd827d01fa19c2145b54 100644 (file)
@@ -23,8 +23,6 @@
 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 // <http://www.gnu.org/licenses/>.
 
-// FIXME string_view vs. freestanding
-
 /** @file contract
  *  This is a Standard C++ Library header.
  */
index a1c2f62a51885defa0a06591595dd4ce85bf8d14..66f4532c70704dabeb30fdb2517c5eb7980507c2 100644 (file)
@@ -1,4 +1,4 @@
-## Makefile for the GNU C++ Filesystem library.
+## Makefile for experimental additions to the GNU C++ Standard library.
 ##
 ## Copyright (C) 2014-2022 Free Software Foundation, Inc.
 ##