[gcc r12-8292] c++: add comments

Jason Merrill jason@gcc.gnu.org
Wed Apr 27 23:49:43 GMT 2022


https://gcc.gnu.org/g:e3947ea7f31518422d9d6b39f081dd4bb2e8f08f

commit r12-8292-ge3947ea7f31518422d9d6b39f081dd4bb2e8f08f
Author: Jason Merrill <jason@redhat.com>
Date:   Wed Apr 27 16:09:35 2022 -0400

    c++: add comments
    
    gcc/cp/ChangeLog:
    
            * tree.cc (strip_typedefs): Add default argument comments.

Diff:
---
 gcc/cp/tree.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/cp/tree.cc b/gcc/cp/tree.cc
index 63164bee638..ed0d0d22950 100644
--- a/gcc/cp/tree.cc
+++ b/gcc/cp/tree.cc
@@ -1583,7 +1583,8 @@ apply_identity_attributes (tree result, tree attribs, bool *remove_attributes)
    stripped.  */
 
 tree
-strip_typedefs (tree t, bool *remove_attributes, unsigned int flags)
+strip_typedefs (tree t, bool *remove_attributes /* = NULL */,
+		unsigned int flags /* = 0 */)
 {
   tree result = NULL, type = NULL, t0 = NULL;


More information about the Gcc-cvs mailing list