OSDN Git Service

* cp-tree.h (DECL_EXTERNAL_LINKAGE_P): New macro.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2000 01:30:59 +0000 (01:30 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2000 01:30:59 +0000 (01:30 +0000)
commita1abbd014250dd3910fcc98ce8e8cd18e00dd5e7
tree62873128afbebb3b4075750f0c2dbc4160b90b4b
parent36badd1d54a77e3f220ab5ceccf79731a16be405
* cp-tree.h (DECL_EXTERNAL_LINKAGE_P): New macro.
(linkage_kind): New enumeration.
(decl_linkage): New function.
* decl2.c (comdat_linkage): Extend comment.
* error.c (dump_function_decl): Print the arguments used to
instantiate a template, even when not printing the type of the
function.
* pt.c (convert_nontype_argument): Use DECL_EXTERNAL_LINKAGE_P,
not TREE_PUBLIC, to test for external linkage.
* tree.c (decl_linkage): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37150 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/testsuite/g++.old-deja/g++.other/linkage6.C [new file with mode: 0644]