Make do_is_mi_like_p const.
authorTom Tromey <tom@tromey.com>
Tue, 24 Apr 2018 02:52:36 +0000 (20:52 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 30 Apr 2018 18:59:03 +0000 (12:59 -0600)
commit4904c3c6b69d5c7b5e4682220c1d9503e00a457e
tree0227e85efdee038aa6d1ec9f4236e1e01fbbd2dd
parent7c66fffc1f3dae0b921ae3cf8139824804cf0705
Make do_is_mi_like_p const.

This changes ui_out to make is_mi_like_p and do_is_mi_like_p "const".

ChangeLog
2018-04-30  Tom Tromey  <tom@tromey.com>

* ui-out.c: Update.
* cli-out.h (cli_ui_out::do_is_mi_like_p): Update.
* ui-out.h (ui_out::is_mi_like_p): Now const.
(ui_out::do_is_mi_like_p): Now const.
* mi/mi-out.h (mi_ui_out::do_is_mi_like_p): Update.
gdb/ChangeLog
gdb/mi/mi-out.h
gdb/ui-out.c
gdb/ui-out.h