cp-tree.h (IDENTIFIER_TYPENAME_P): Use a flag, not strncmp.
authorMark Mitchell <mark@codesourcery.com>
Mon, 22 May 2000 22:52:32 +0000 (22:52 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 22 May 2000 22:52:32 +0000 (22:52 +0000)
commit421844e7209277ce775c5b635a5cc76906df94e9
tree6319116f418cc5370863bfb90a208f517c9c0b29
parent46972a3631a4753e90899e09149fc6febbd64c73
cp-tree.h (IDENTIFIER_TYPENAME_P): Use a flag, not strncmp.

* cp-tree.h (IDENTIFIER_TYPENAME_P): Use a flag, not strncmp.
(DECL_CONV_FN_P): Simplify.
(DECL_OPERATOR): Remove.
(language_to_string): Declare.
* decl.c (duplicate_decls): Fix typo in comment.
(grokdeclarator): Adjust use of IDENTIFIER_TYPENAME_P.
(grok_op_properties): Use DECL_CONV_FN_P instead of
IDENTIFIER_TYPENAME_P.
* dump.c (dequeue_and_dump): Dump the language linkage of
declarations.
* error.c (language_to_string): Give it external linkage.
* method.c (build_typename_overload): Set IDENTIFIER_TYPENAME_P.
(implicitly_declare_fn): Set DECL_LANGUAGE.
* pt.c (check_explicit_specialization): Use DECL_CONV_FN_P, not
IDENTIFIER_TYPENAME_P.
(tsubst_decl): Likewise.
(tsubst_copy): Adjust use of IDENTIFIER_TYPENAME_P.
* semantics.c (finish_member_declaration): Don't mark members of
classes declared in an extern "C" region as extern "C".

From-SVN: r34095
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/dump.c
gcc/cp/error.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/cp/semantics.c