diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-04-05 14:49:53 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-04-05 14:49:53 -0400 |
commit | 4b02dd48f531ea88587edd2b75b6e5243b4389e8 (patch) | |
tree | b95d482fc0a5f1d5bb54cc5cb757e803bd28780e /gcc/expr.cc | |
parent | 75b49c0e9012f5ecef0d32f3f6a0d8da66517576 (diff) | |
download | gcc-4b02dd48f531ea88587edd2b75b6e5243b4389e8.zip gcc-4b02dd48f531ea88587edd2b75b6e5243b4389e8.tar.gz gcc-4b02dd48f531ea88587edd2b75b6e5243b4389e8.tar.bz2 |
analyzer: respect GCC_COLORS in out-of-bounds diagrams [PR114588]
gcc/analyzer/ChangeLog:
PR analyzer/114588
* access-diagram.cc (access_diagram_impl::access_diagram_impl):
Replace hardcoded colors for valid_style and invalid_style with
calls to text_art::get_style_from_color_cap_name.
gcc/ChangeLog:
PR analyzer/114588
* diagnostic-color.cc (color_dict): Add "valid" and "invalid" as
color capability names.
* doc/invoke.texi: Document them in description of GCC_COLORS.
* text-art/style.cc: Include "diagnostic-color.h".
(text_art::get_style_from_color_cap_name): New.
* text-art/types.h (get_style_from_color_cap_name): New decl.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions