OK.
Jason
Jason Merrill writes:
> On 09/20/2012 10:01 AM, Dodji Seketeli wrote:
>> This is because in cplus_decl_attributes, save_template_attributes
>> makes so that the 'unused' attribute is applied to its appertaining
>> entity only at instantiation time. But then at parsing time
>> maybe_warn_unused_l
On 09/20/2012 10:01 AM, Dodji Seketeli wrote:
This is because in cplus_decl_attributes, save_template_attributes
makes so that the 'unused' attribute is applied to its appertaining
entity only at instantiation time. But then at parsing time
maybe_warn_unused_local_typedefs checks for TREE_USED b
Hello,
In the example of this patch, gcc/g++ invoked with
-Wunused-local-typedefs warns on dependant entities even when those
are decorated with the 'unused' attribute.
This is because in cplus_decl_attributes, save_template_attributes
makes so that the 'unused' attribute is applied to its appert