objc: Add support for per-location warning groups.
authorMartin Sebor <msebor@redhat.com>
Mon, 28 Jun 2021 21:13:17 +0000 (15:13 -0600)
committerMartin Sebor <msebor@redhat.com>
Mon, 28 Jun 2021 21:13:17 +0000 (15:13 -0600)
commited94172c7e174a9b56b9de066f4fb7e71c9ebaf9
tree2b24a3c79d9858af9625b7a28b893483ed4edf90
parent3f448890764fd75311b50cda667286dc2416e384
objc: Add support for per-location warning groups.

gcc/objc/ChangeLog:

* objc-act.c (objc_maybe_build_modify_expr): Replace direct uses
of TREE_NO_WARNING with warning_suppressed_p, and suppress_warning.
(objc_build_incr_expr_for_property_ref): Same.
(objc_build_struct): Same.
(synth_module_prologue): Same.
* objc-gnu-runtime-abi-01.c (gnu_runtime_01_initialize): Same.
* objc-next-runtime-abi-01.c (next_runtime_01_initialize): Same.
* objc-next-runtime-abi-02.c (next_runtime_02_initialize): Same.
gcc/objc/objc-act.c
gcc/objc/objc-gnu-runtime-abi-01.c
gcc/objc/objc-next-runtime-abi-01.c
gcc/objc/objc-next-runtime-abi-02.c