diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-05-31 08:17:27 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-05-31 08:17:27 -0400 |
commit | da8a18df7d1edb9e5ad914e55958576d0241b7cb (patch) | |
tree | 2c6e50ca1bd5b0fc49d2cfd3bb3f3477745d88c1 /gcc/cp/cp-tree.h | |
parent | b5cf960e29fe59772b8bf5fca068e7139651255b (diff) | |
download | gcc-da8a18df7d1edb9e5ad914e55958576d0241b7cb.zip gcc-da8a18df7d1edb9e5ad914e55958576d0241b7cb.tar.gz gcc-da8a18df7d1edb9e5ad914e55958576d0241b7cb.tar.bz2 |
c++: document comp_template_args's default args
In passing, use bool for its return type.
gcc/cp/ChangeLog:
* cp-tree.h (comp_template_args): Change return type to bool.
* pt.cc (comp_template_args): Document default arguments.
Change return type to bool and adjust returns accordingly.
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index d77fd1e..da88981 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -7327,7 +7327,7 @@ extern tree get_template_info (const_tree); extern int template_class_depth (tree); extern int is_specialization_of (tree, tree); extern bool is_specialization_of_friend (tree, tree); -extern int comp_template_args (tree, tree, tree * = NULL, +extern bool comp_template_args (tree, tree, tree * = NULL, tree * = NULL, bool = false); extern int template_args_equal (tree, tree, bool = false); extern tree maybe_process_partial_specialization (tree); |