aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)