This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r246852 - in /branches/c++-modules: ChangeLog.m...


Author: nathan
Date: Tue Apr 11 17:54:10 2017
New Revision: 246852

URL: https://gcc.gnu.org/viewcvs?rev=246852&root=gcc&view=rev
Log:
	Separating namespace bindings part 15
	gcc/cp/
	* cp-tree.h (PUSH_GLOBAL, PUSH_LOCAL, PUSH_USING): Delete.
	* lex.c (unqualified_name_lookup_error): Adjust push_local_binding
	call.
	* name-lookup.h (push_local_binding): Flags is now bool.
	* name-lookup.c (matching_using_decl_p): Rename to ...
	(matching_fn_p): ... here.  Update callers.
	(set_local_extern_decl_linkage): New.  Broken out of ...
	(do_pushdecl): ... here.  Call it.
	(push_local_binding, augment_local_overload_binding)
	do_local_push_overload, do_local_using_decl): Flags is now bool.
	gcc/testsuite/
	* g++.dg/lookup/extern-redecl1.C: New.
	* g++.dg/parse/ctor9.c: tweak.
(--This line, and those below, will be ignored--

M    ChangeLog.modules
M    gcc/testsuite/g++.dg/parse/ctor9.C
A    gcc/testsuite/g++.dg/lookup/extern-redecl1.C
M    gcc/cp/cp-tree.h
M    gcc/cp/name-lookup.c
M    gcc/cp/lex.c
M    gcc/cp/name-lookup.h

Added:
    branches/c++-modules/gcc/testsuite/g++.dg/lookup/extern-redecl1.C
Modified:
    branches/c++-modules/ChangeLog.modules
    branches/c++-modules/gcc/cp/cp-tree.h
    branches/c++-modules/gcc/cp/lex.c
    branches/c++-modules/gcc/cp/name-lookup.c
    branches/c++-modules/gcc/cp/name-lookup.h
    branches/c++-modules/gcc/testsuite/g++.dg/parse/ctor9.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]