[C++ PATCH] 'std' identifier not needed
authorNathan Sidwell <nathan@acm.org>
Thu, 24 Oct 2019 00:59:57 +0000 (00:59 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 24 Oct 2019 00:59:57 +0000 (00:59 +0000)
commit5a7c45058271ab8a41462a483e696e0f2480b91a
treec6ac2461e1574381a1a64828901e3925d964f8e4
parent61d5466b6db685ff3b484ffdd3ae57198a4dd123
[C++ PATCH] 'std' identifier not needed

https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01707.html
* cp-tree.c (CPTI_STD_IDENTIFIER): Delete.
(std_identifier): Delete.
(DECL_NAME_SPACE_STD_P): Compare against std_node.
* decl.c (initialize_predefined_identifiers): 'std' is not needed.
(cxx_init_decl_processing): Adjust creation of ::std.  Use
{push,pop}_nested_namespace.
(cxx_builtin_function): Use {push,pop}_nested_namespace.
* except.c (init_exception_processing): Likewise.
* rtti.c (init_rtti_processing): Likewise.

From-SVN: r277365
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/except.c
gcc/cp/rtti.c