cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro.
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>
Thu, 23 Sep 1999 22:20:08 +0000 (22:20 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Thu, 23 Sep 1999 22:20:08 +0000 (22:20 +0000)
commitda8a66fc9fb130150b0c08c866227440fa0313ea
tree292010c5b05c2ec278045555e6ffa31ba22289a1
parent48f45f57fc04ac76a5699c71e2dec606992b9f9a
cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro.

* 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.

From-SVN: r29642
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/ptree.c