aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-11-23 02:49:41 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-11-23 02:49:41 +0000
commitf981720185940a12e9d4bd8f1000602a2ca07d05 (patch)
tree226ba8a834310f6b3389722c4c998ad288f65546 /gcc/libgcc2.c
parenta96c67ec898a25a760997e6b51b4f5832f671fa1 (diff)
downloadgcc-f981720185940a12e9d4bd8f1000602a2ca07d05.zip
gcc-f981720185940a12e9d4bd8f1000602a2ca07d05.tar.gz
gcc-f981720185940a12e9d4bd8f1000602a2ca07d05.tar.bz2
cp-tree.def (FUNCTION_NAME): New tree node.
* cp-tree.def (FUNCTION_NAME): New tree node. * cp-tree.h (current_function_name_declared): Tweak documentation. (lang_decl_flags): Add pretty_function_p, adjust dummy. (DECL_PRETTY_FUNCTION_P): New macro. * decl.c (cp_finish_decl): Handle declarations of __FUNCTION__, etc., in a template function. Use at_function_scope_p instead of expanding it inline. * pt.c (tsubst_decl): Handle DECL_PRETTY_FUNCTION_P declarations specially. (tsubst): Handle FUNCTION_NAME. (tsubst_copy): Likewise. (instantiate_decl): Prevent redeclarations of __PRETTY_FUNCTION__, etc. in instantiation. * semantics.c (begin_compound_stmt): Declare __FUNCTION__, etc., even in template functions. (setup_vtbl_ptr): Don't declare __PRETTY_FUNCTION in the conditional scope at the top of a destructor. * error.c (dump_function_decl): Use `[ with ... ]' syntax for specializations too. From-SVN: r30625
Diffstat (limited to 'gcc/libgcc2.c')
0 files changed, 0 insertions, 0 deletions