diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-19 00:48:10 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-19 00:48:10 +0000 |
commit | 2e91a2c4ebb0024a40e17cc78899941b9ba9b1f9 (patch) | |
tree | c5504a2824f51329807cdc105f88ee9ca8fb9e8f /gcc/cp/ptree.c | |
parent | f7aefc28b8c9f42684b5af4f68ad990a8c169cbf (diff) | |
download | gcc-2e91a2c4ebb0024a40e17cc78899941b9ba9b1f9.tar.gz |
* call.c (find_scoped_type, resolve_scope_to_name): Lose.
* class.c (finish_struct_1): Use CLASS_TYPE_P.
* ptree.c (print_lang_type): Likewise.
* typeck.c (build_modify_expr, c_expand_asm_operands): Use
IS_AGGR_TYPE_CODE.
* typeck2.c (digest_init): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27001 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ptree.c')
-rw-r--r-- | gcc/cp/ptree.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c index 1f17aec09c6..502c1f0cc75 100644 --- a/gcc/cp/ptree.c +++ b/gcc/cp/ptree.c @@ -79,11 +79,7 @@ print_lang_type (file, node, indent) return; } - if (! (TREE_CODE (node) == RECORD_TYPE - || TREE_CODE (node) == UNION_TYPE)) - return; - - if (!TYPE_LANG_SPECIFIC (node)) + if (! CLASS_TYPE_P (node)) return; indent_to (file, indent + 3); |