typeck.c (convert_for_assignment): Allow boolean integral constant expressions to...
authorJason Merrill <jason@gcc.gnu.org>
Thu, 25 Feb 1999 00:11:35 +0000 (19:11 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Feb 1999 00:11:35 +0000 (19:11 -0500)
commitb262d64c1284f296fe80f6706fb5a5a689ed5e1c
tree2e55f1d1d0b102bcae197fd603f70ef89b5a72c8
parent1b14496f064242b4217bd1c6f8caf900d5794854
typeck.c (convert_for_assignment): Allow boolean integral constant expressions to convert to null pointer.

* typeck.c (convert_for_assignment): Allow boolean integral constant
expressions to convert to null pointer.
* decl.c (lookup_namespace_name): Resolve namespace aliases.
* class.c (push_nested_class): Allow namespaces.
* decl2.c (set_decl_namespace): Add friendp parameter.
* decl.c (grokfndecl): Pass it.
(grokvardecl): Likewise.
* cp-tree.h: Change declaration.

From-SVN: r25420
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/typeck.c