On 11/11/2011 04:42 AM, Dodji Seketeli wrote:
Fabien Chêne<fabien.ch...@gmail.com> a écrit:
Are the other debugging backends not interested at all in USING_DECLs ?
The way debug info is generated for USING_DECLs is that
handle_using_decl (via cp_emit_debug_info_for_using) asks the backend to
generate debug info for the DECLs the USING_DECL resolves to, basically.
AIUI, the backend is not supposed to handle the USING_DECL himself.
That seems to be only used for namespace- or function-scope
using-declarations; we don't do anything for class-scope
using-declarations currently. DWARF2 is interested in them, but that
seems like a separate chunk of work, so for now let's just set
DECL_IGNORED_P like Dodji suggested.
Jason