aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2013-12-12 22:58:54 -0500
committerJason Merrill <jason@gcc.gnu.org>2013-12-12 22:58:54 -0500
commit8a614b4f3780a41ff631ba33c6990c8d7766a273 (patch)
tree3fed4af42a6c6c2a1e7b7e775ea4d99005aff0fe /gcc/cp/pt.c
parent4149642428e2cffdd0ec2c7d14434b2c40b7de21 (diff)
downloadgcc-8a614b4f3780a41ff631ba33c6990c8d7766a273.zip
gcc-8a614b4f3780a41ff631ba33c6990c8d7766a273.tar.gz
gcc-8a614b4f3780a41ff631ba33c6990c8d7766a273.tar.bz2
comment
From-SVN: r205953
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index d566afd..6199478 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -15422,9 +15422,9 @@ pack_deducible_p (tree parm, tree fn)
it. TARGS is a vector into which the deduced template arguments
are placed.
- Return zero for success, 2 for an incomplete match that doesn't resolve
- all the types, and 1 for complete failure. An error message will be
- printed only for an incomplete match.
+ Returns either a FUNCTION_DECL for the matching specialization of FN or
+ NULL_TREE if no suitable specialization can be found. If EXPLAIN_P is
+ true, diagnostics will be printed to explain why it failed.
If FN is a conversion operator, or we are trying to produce a specific
specialization, RETURN_TYPE is the return type desired.