summaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-13 03:58:54 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-13 03:58:54 +0000
commitd3ce437f9657c88eb04616d565d6840b6f7ba45e (patch)
tree3fed4af42a6c6c2a1e7b7e775ea4d99005aff0fe /gcc/cp/pt.c
parent174a4f45f00e2647155c2e791f9c841eb657af4b (diff)
downloadgcc-d3ce437f9657c88eb04616d565d6840b6f7ba45e.tar.gz
comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205953 138bc75d-0d04-0410-961f-82ee72b054a4
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 d566afdfcc5..61994787d2d 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.