Skip to content
Snippets Groups Projects
Commit d6eec208 authored by Mark Mitchell's avatar Mark Mitchell Committed by Mark Mitchell
Browse files

re PR c++/18530 (Bogus warnings about shadowed variables __ct, __dt)

	PR c++/18530
	* cp-tree.h (CTOR_NAME): Remove.
	(DTOR_NAME): Remove.
	* decl.c (initialize_predefined_identifiers): Add spaces to the
	end of constructor and destructor names.

	PR c++/18530
	* g++.dg/warn/Wshadow-3.C: New test.

From-SVN: r91179
parent 479ec1d1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment