On Mon, 8 May 2017, Nathan Sidwell wrote: > cp/name-lookup has a twisty maze of forwarding functions. One reason is that > a couple of the names are used directly by c-common.c. However, we now have > lang hooks for these things. > > This patch changes the C++ FE to override the pushdecl and getdecl lang hooks. > In addition to simply overriding them there, I had to fixup a couple of places > in c-family/c-common.c and objc/objc-gnu-runtime-abi-01.c to use the pushdecl > hook.
The c/ and c-family/ changes are OK. -- Joseph S. Myers jos...@codesourcery.com