[PATCH] diagnostic_metadata: unbreak xgettext (v2)

David Malcolm dmalcolm@redhat.com
Tue Jan 28 19:40:00 GMT 2020


On Tue, 2020-01-28 at 16:34 +0100, Jakub Jelinek wrote:
> On Tue, Jan 28, 2020 at 10:30:58AM -0500, David Malcolm wrote:
> > gcc/analyzer/ChangeLog:
> > 	* region-model.cc (poisoned_value_diagnostic::emit): Update for
> > 	renaming of warning_at overload to warning_meta.
> > 	* sm-file.cc (file_leak::emit): Likewise.
> > 	* sm-malloc.cc (double_free::emit): Likewise.
> > 	(possible_null_deref::emit): Likewise.
> > 	(possible_null_arg::emit): Likewise.
> > 	(null_deref::emit): Likewise.
> > 	(null_arg::emit): Likewise.
> > 	(use_after_free::emit): Likewise.
> > 	(malloc_leak::emit): Likewise.
> > 	(free_of_non_heap::emit): Likewise.
> > 	* sm-sensitive.cc (exposure_through_output_file::emit):
> > Likewise.
> > 	* sm-signal.cc (signal_unsafe_call::emit): Likewise.
> > 	* sm-taint.cc (tainted_array_index::emit): Likewise.
> > 
> > gcc/ChangeLog:
> > 	* diagnostic-core.h (warning_at): Rename overload to...
> > 	(warning_meta): ...this.
> > 	(emit_diagnostic_valist): Delete decl of overload taking
> > 	diagnostic_metadata.
> > 	* diagnostic.c (emit_diagnostic_valist): Likewise for defn.
> > 	(warning_at): Rename overload taking diagnostic_metadata to...
> > 	(warning_meta): ...this.
> > 
> > gcc/testsuite/ChangeLog:
> > 	* gcc.dg/plugin/diagnostic_plugin_test_metadata.c: Update for
> > 	renaming of warning_at overload to warning_meta.
> > 	* gcc.dg/plugin/diagnostic_plugin_test_paths.c: Likewise.
> 
> LGTM, thanks

Thanks.   B&R succeeded, so pushed to master
(6c8e584430bc5dc01b4438f3c38a2a10fcba7685).



More information about the Gcc-patches mailing list