aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1997-02-16 10:05:43 +0000
committerJason Merrill <merrill@gnu.org>1997-02-16 10:05:43 +0000
commita1d7ffe39cbc63278f6d8fddafdbc54277b0fe44 (patch)
treed6b9b2c6fe9863eb2cfd4237926e750de729ce2c /gcc/tree.h
parent6e47932d3c751ba0f2ee5706221597b79ec53fd4 (diff)
downloadgcc-a1d7ffe39cbc63278f6d8fddafdbc54277b0fe44.zip
gcc-a1d7ffe39cbc63278f6d8fddafdbc54277b0fe44.tar.gz
gcc-a1d7ffe39cbc63278f6d8fddafdbc54277b0fe44.tar.bz2
x
From-SVN: r13652
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index dc2714e4..ec1ce34 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1639,9 +1639,15 @@ extern int current_function_calls_longjmp;
extern int all_types_permanent;
-/* Pointer to function to compute the name to use to print a declaration. */
-
-extern char *(*decl_printable_name) ();
+/* Pointer to function to compute the name to use to print a declaration.
+ DECL is the declaration in question.
+ VERBOSITY determines what information will be printed:
+ 0: DECL_NAME, demangled as necessary.
+ 1: and scope information.
+ 2: and any other information that might be interesting, such as function
+ parameter types in C++. */
+
+extern char *(*decl_printable_name) (/* tree decl, int verbosity */);
/* Pointer to function to finish handling an incomplete decl at the
end of compilation. */