aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2013-03-16 22:33:50 -0400
committerJason Merrill <jason@gcc.gnu.org>2013-03-16 22:33:50 -0400
commit98e8112376654ff5eae902ecd41a61bf0508ff73 (patch)
treebdbb93e0e0179f8a7b68019a9725114d134f69e3 /gcc/langhooks.h
parent6721db5d154364ab7f9bf7af62bc1a2f30313a39 (diff)
downloadgcc-98e8112376654ff5eae902ecd41a61bf0508ff73.zip
gcc-98e8112376654ff5eae902ecd41a61bf0508ff73.tar.gz
gcc-98e8112376654ff5eae902ecd41a61bf0508ff73.tar.bz2
re PR debug/49090 (provide a way to recognize defaulted template parameters)
PR debug/49090 * dwarf2out.c (gen_generic_params_dies): Indicate default arguments with DW_AT_default_value. From-SVN: r196723
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 4bc1bd5..80d4ef3 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -407,8 +407,10 @@ struct lang_hooks
struct lang_hooks_for_lto lto;
- /* Returns the generic parameters of an instantiation of
- a generic type or decl, e.g. C++ template instantiation. */
+ /* Returns a TREE_VEC of the generic parameters of an instantiation of
+ a generic type or decl, e.g. C++ template instantiation. If
+ TREE_CHAIN of the return value is set, it is an INTEGER_CST
+ indicating how many of the elements are non-default. */
tree (*get_innermost_generic_parms) (const_tree);
/* Returns the TREE_VEC of arguments of an instantiation