]> git.ipfire.org Git - thirdparty/gcc.git/commit
* cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro.
authorloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Sep 1999 22:20:08 +0000 (22:20 +0000)
committerloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Sep 1999 22:20:08 +0000 (22:20 +0000)
commitad46fc6a7da5f562b7d8b37cc27c138f87081cfc
tree292010c5b05c2ec278045555e6ffa31ba22289a1
parent8654acdeacb0e89422e4a84d73f133fdd935a164
* cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro.
(RECORD_OR_UNION_TYPE_CHECK, LANG_IDENTIFIER_CAST): Likewise.
(DEFARG_NODE_CHECK): Remove; replace with DEFAULT_ARG_CHECK.
* cp-tree.h: Add tree checking macros to various tree access
macros.
* ptree.c (print_lang_decl): Test for function or variable
before accessing template info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29642 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/ptree.c