aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.cc
AgeCommit message (Expand)AuthorFilesLines
2024-09-09diagnostics: introduce struct diagnostic_option_idDavid Malcolm1-26/+29
2024-09-09diagnostics: replace option_hooks with a diagnostic_option_manager classDavid Malcolm1-16/+7
2024-09-09diagnostics: rename dc.printer to m_printer [PR116613]David Malcolm1-45/+50
2024-09-03pretty-print: naming cleanupsDavid Malcolm1-1/+1
2024-08-29pretty-print: reimplement pp_format with a new struct pp_tokenDavid Malcolm1-1/+1
2024-08-26diagnostics: move output formats from diagnostic.{c,h} to their own filesDavid Malcolm1-174/+2
2024-08-26diagnostics: consolidate on_{begin,end}_diagnostic into on_report_diagnosticDavid Malcolm1-126/+135
2024-08-06c++: permit errors inside uninstantiated templates [PR116064]Patrick Palka1-0/+4
2024-08-06diagnostics: SARIF output: fix "executionSuccessful" §3.20.14 [PR116177]David Malcolm1-0/+13
2024-07-31diagnostics: SARIF output: eliminate some uses of "line_table" globalDavid Malcolm1-0/+2
2024-07-26diagnostics: SARIF output: capture #include information (PR 107941; §3.34)David Malcolm1-0/+13
2024-07-24diagnostics: SARIF output: add "arguments" property (§3.20.2)David Malcolm1-0/+17
2024-07-24diagnostics: output formats: use references for non-null pointersDavid Malcolm1-1/+1
2024-07-09diagnostics: use refs rather than pointers for diagnostic_{path,context}David Malcolm1-1/+1
2024-06-25diagnostics: introduce diagnostic-global-context.ccDavid Malcolm1-521/+0
2024-06-25diagnostics: eliminate various implicit uses of global_dcDavid Malcolm1-68/+68
2024-06-21diagnostics: remove duplicate copies of diagnostic_kind_textDavid Malcolm1-0/+8
2024-06-21diagnostics: move diagnostic_{event,path} functions to diagnostic-path.ccDavid Malcolm1-168/+0
2024-06-18diagnostics: eliminate diagnostic_context::m_print_path callbackDavid Malcolm1-2/+1
2024-06-18diagnostics: eliminate "tree" from diagnostic_{event,path}David Malcolm1-10/+37
2024-06-18diagnostics: move simple_diagnostic_{path,thread,event} to their own .h/ccDavid Malcolm1-149/+0
2024-06-12pretty_printer: make all fields privateDavid Malcolm1-7/+7
2024-06-03diagnostics: add SARIF property artifact.roles (3.24.6)David Malcolm1-0/+3
2024-05-28diagnostics: disable localization of events in selftest paths [PR115203]David Malcolm1-3/+5
2024-05-17diagnostics, analyzer: add CFG edge visualization to path-printingDavid Malcolm1-0/+12
2024-03-19diagnostics: Fix behavior of permerror options after diagnostic pop [PR111918]Lewis Hyatt1-3/+10
2024-03-19diagnostics: fix corrupt json/SARIF on stderr [PR114348]David Malcolm1-1/+11
2024-02-12diagnostics: unbreak 'make gcc.pot'David Malcolm1-5/+5
2024-01-10pretty-print: support urlification in phase 3David Malcolm1-1/+1
2024-01-03Update copyright years.Jakub Jelinek1-1/+1
2023-12-06diagnostics: prettify JSON output formatsDavid Malcolm1-5/+12
2023-12-06diagnostics: use const and references for diagnostic_infoDavid Malcolm1-8/+9
2023-12-01diagnostics, analyzer: add optional per-diagnostic property bags to SARIFDavid Malcolm1-0/+12
2023-11-27diagnostics: add diagnostic_context::get_location_textDavid Malcolm1-20/+15
2023-11-16diagnostics: make m_lang_mask privateDavid Malcolm1-1/+3
2023-11-14diagnostics: make option-handling callbacks privateDavid Malcolm1-21/+24
2023-11-14diagnostics: make m_text_callbacks privateDavid Malcolm1-3/+3
2023-11-14input.h: eliminate implicit users of global_dc's file_cacheDavid Malcolm1-18/+29
2023-11-06diagnostics: introduce class diagnostic_option_classifierDavid Malcolm1-53/+71
2023-11-06diagnostics: make diagnostic_context::m_urlifier privateDavid Malcolm1-0/+8
2023-11-06diagnostics: eliminate diagnostic_kind_countDavid Malcolm1-8/+8
2023-11-03diagnostics: add automatic URL-ification within messagesDavid Malcolm1-1/+6
2023-11-03diagnostics: convert diagnostic_context to a classDavid Malcolm1-349/+341
2023-11-03diagnostics: consolidate group-handling fields in diagnostic_contextDavid Malcolm1-14/+28
2023-10-19diagnostic: rename new permerror overloadsJason Merrill1-2/+2
2023-10-18diagnostic: add permerror variants with optJason Merrill1-24/+43
2023-10-16diagnostics: special-case -fdiagnostics-text-art-charset=ascii for LANG=CDavid Malcolm1-2/+11
2023-10-16diagnostics: fix missing initialization of context->extra_output_kindDavid Malcolm1-1/+1
2023-10-03diagnostics: add ctors to text_info; add m_ prefixes to fieldsDavid Malcolm1-24/+9
2023-10-02diagnostics: add diagnostic_output_format classDavid Malcolm1-55/+60