aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/diagnostic-manager.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2023-08-21 21:13:17 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2023-08-21 21:13:17 -0400
commite40a935db29cfd8f1c68b1d0b7219d71b9c5abb0 (patch)
tree64267b41b9351e97ff84c50756bcc42814c0a845 /gcc/analyzer/diagnostic-manager.h
parent5f55721049415d4887681f3c7115d8619ab80ccd (diff)
downloadgcc-e40a935db29cfd8f1c68b1d0b7219d71b9c5abb0.zip
gcc-e40a935db29cfd8f1c68b1d0b7219d71b9c5abb0.tar.gz
gcc-e40a935db29cfd8f1c68b1d0b7219d71b9c5abb0.tar.bz2
analyzer: convert note_adding_context to annotating_context
This is enabling work towards the context being able to inject events into diagnostic paths, rather than just notes after the warning. gcc/analyzer/ChangeLog: * region-model.cc (class check_external_function_for_access_attr::annotating_ctxt): Convert to an annotating_context. * region-model.h (class note_adding_context): Rename to... (class annotating_context): ...this, updating the "warn" method. (note_adding_context::make_note): Replace with... (annotating_context::add_annotations): ...this. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/analyzer/diagnostic-manager.h')
0 files changed, 0 insertions, 0 deletions