On Wed, May 16, 2018 at 3:01 AM Jason Merrill <ja...@redhat.com> wrote:
> The function "warning" returns bool to indicated whether or not any > diagnostic was actually emitted; warn_deprecated_use should as well. > It's also unnecessary to duplicate the warning code between the cases > of null or non-null "decl", since the actual warnings were the same. > The only thing that's different is whether we indicate the source > location of "decl". > Tested x86_64-pc-linux-gnu. OK for trunk? OK. Richard.