aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-04-10 11:48:11 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-04-10 11:48:11 -0400
commitc050ec51a4c3deb40a07387469152d6f26e5a765 (patch)
treec9f80f27994e43c530b578ca76af5ef5c22b17cc /gcc
parent4f75c180247f5840e27bf3573994b8e256a2e95c (diff)
downloadgcc-c050ec51a4c3deb40a07387469152d6f26e5a765.zip
gcc-c050ec51a4c3deb40a07387469152d6f26e5a765.tar.gz
gcc-c050ec51a4c3deb40a07387469152d6f26e5a765.tar.bz2
tweak comments
From-SVN: r41222
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/call.c5
-rw-r--r--gcc/cp/decl2.c9
2 files changed, 8 insertions, 6 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 0850f9b..548bd00 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -4034,6 +4034,11 @@ convert_default_arg (type, arg, fn, parmnum)
return arg;
}
+/* Subroutine of the various build_*_call functions. Overload resolution
+ has chosen a winning candidate CAND; build up a CALL_EXPR accordingly.
+ ARGS is a TREE_LIST of the unconverted arguments to the call. FLAGS is a
+ bitmask of various LOOKUP_* flags which apply to the call itself. */
+
static tree
build_over_call (cand, args, flags)
struct z_candidate *cand;
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index b26decb..ded15a7 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -2118,12 +2118,9 @@ build_anon_union_vars (anon_decl, elems, static_p, external_p)
return main_decl;
}
-/* Finish off the processing of a UNION_TYPE structure.
- If there are static members, then all members are
- static, and must be laid out together. If the
- union is an anonymous union, we arrange for that
- as well. PUBLIC_P is nonzero if this union is
- not declared static. */
+/* Finish off the processing of a UNION_TYPE structure. If the union is an
+ anonymous union, then all members must be laid out together. PUBLIC_P
+ is nonzero if this union is not declared static. */
void
finish_anon_union (anon_union_decl)