]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: Update comment of c_type_print_template_args.
authorChristina Schimpe <christina.schimpe@intel.com>
Mon, 29 Dec 2025 15:15:14 +0000 (15:15 +0000)
committerChristina Schimpe <christina.schimpe@intel.com>
Tue, 13 Jan 2026 07:42:05 +0000 (07:42 +0000)
Remove function description for TABLE.  This function does not take a
parameter "table".

Approved-By: Tom Tromey <tom@tromey.com>
gdb/c-typeprint.c

index 07d16ed361e350e184d2d6998f6499e916d9fadf..683517a21768cf325dde7e1c2acbfdf39f026829 100644 (file)
@@ -787,14 +787,8 @@ c_type_print_varspec_suffix (struct type *type,
     }
 }
 
-/* A helper for c_type_print_base that displays template
-   parameters and their bindings, if needed.
-
-   TABLE is the local bindings table to use.  If NULL, no printing is
-   done.  Note that, at this point, TABLE won't have any useful
-   information in it -- but it is also used as a flag to
-   print_name_maybe_canonical to activate searching the global typedef
-   table.
+/* A helper for c_type_print_base_struct_union that displays template
+   parameters.
 
    TYPE is the type whose template arguments are being displayed.