]> git.ipfire.org Git - thirdparty/gcc.git/commit
[C++ PATCH] 'std' identifier not needed
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Oct 2019 00:59:57 +0000 (00:59 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Oct 2019 00:59:57 +0000 (00:59 +0000)
commit144b0807fcce7da37fe80ef257e86ecb800e198f
treec6ac2461e1574381a1a64828901e3925d964f8e4
parent8c4f8bc6becd87f850f2a6e602196f3dbb3561e0
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277365 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/except.c
gcc/cp/rtti.c