aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic-show-locus.c
AgeCommit message (Expand)AuthorFilesLines
2018-10-15diagnostics: add minimum width to left margin for line numbersDavid Malcolm1-16/+25
2018-09-25Remove unused functions and fields.Martin Liska1-2/+0
2018-09-17Add range_idx param to range_label::get_textDavid Malcolm1-5/+14
2018-08-27Less verbose fix-it hints for missing header files (PR 87091)David Malcolm1-27/+36
2018-08-27diagnostics: show an extra line of context in line-insertion fix-it hints (PR...David Malcolm1-8/+35
2018-08-24diagnostics: tweaks to line-spans vs line numbering (PR 87091)David Malcolm1-27/+111
2018-08-16diagnostics: tweak to line-insertion fix-it hints with line-numberingDavid Malcolm1-4/+4
2018-08-15diagnostics: add labeling of source rangesDavid Malcolm1-5/+341
2018-08-09diagnostics: add line numbers to source (PR other/84889)David Malcolm1-8/+155
2018-08-02Fix memory leak of pretty_printer prefixesDavid Malcolm1-1/+1
2018-04-30Use char_span for return type of location_get_source_lineDavid Malcolm1-37/+15
2018-03-14Fix ICE for missing header fix-it hints with overlarge #line directives (PR c...David Malcolm1-33/+72
2018-01-27re PR middle-end/84034 (incomplete warning message with dos line endings)Bernd Edlinger1-4/+7
2018-01-03Update copyright years.Jakub Jelinek1-1/+1
2017-12-19read-rtl.c (parse_reg_note_name): Replace Yoda conditions with typical order ...Jakub Jelinek1-2/+2
2017-11-28Handle very long lines when printing fix-it hintsDavid Malcolm1-2/+2
2017-11-02Move selftest::test_diagnostic_context to its own headerDavid Malcolm1-28/+1
2017-08-16diagnostic-show-locus.c: remove unused field from class colorizerDavid Malcolm1-1/+0
2017-07-13diagnostics: fix crash when consolidating out-of-order fix-it hints (PR c/81405)David Malcolm1-13/+180
2017-07-11diagnostics: support compact printing of secondary locationsDavid Malcolm1-66/+207
2017-07-06diagnostics: fix end-points of ranges within macros (PR c++/79300)David Malcolm1-3/+6
2017-06-20Prevent fix-it hints from affecting more than one lineDavid Malcolm1-0/+48
2017-05-03New fix-it printerDavid Malcolm1-38/+534
2017-05-02Support fix-it hints that add new linesDavid Malcolm1-47/+164
2017-05-01Eliminate fixit_hint class hierarchyDavid Malcolm1-143/+84
2017-01-01Update copyright years.Jakub Jelinek1-1/+1
2016-09-15fix-it hints can't contain newlinesDavid Malcolm1-0/+83
2016-09-13fix-it hints: insert_before vs insert_afterDavid Malcolm1-11/+31
2016-08-31diagnostic-show-locus.c: handle fixits on lines outside the regular rangesDavid Malcolm1-22/+270
2016-08-31Remove arbitrary limits from rich_locationDavid Malcolm1-7/+57
2016-08-30rich_location: add convenience overloads for adding fix-it hintsDavid Malcolm1-13/+4
2016-08-29Allow the use of ad-hoc locations for fix-it hintsDavid Malcolm1-0/+70
2016-08-26Add validation and consolidation of fix-it hintsDavid Malcolm1-0/+155
2016-08-26Tweak to colors of fix-it hintsDavid Malcolm1-28/+38
2016-08-19Reimplement removal fix-it hints in terms of replaceDavid Malcolm1-20/+104
2016-08-18Allow calling diagnostic_show_locus without a diagnostic_infoDavid Malcolm1-18/+225
2016-07-20Enabling work for C++ handling of misspelled identifiers and typenamesDavid Malcolm1-3/+12
2016-06-06Selftest frameworkDavid Malcolm1-0/+166
2016-05-10Add debugging ruler to diagnostic-show-locus.cDavid Malcolm1-0/+39
2016-03-17PR c/70264: fix crash in compatible_locations_p with BUILTINS_LOCATIONDavid Malcolm1-0/+6
2016-03-09PR c++/70105: prevent nonsensical underline spew for macro expansionsDavid Malcolm1-2/+87
2016-03-09PR c++/70105: Defer location expansion until diagnostic_show_locusDavid Malcolm1-12/+29
2016-02-12PR other/69554: avoid excessive source printing for widely-separated locationsDavid Malcolm1-22/+204
2016-02-03re PR c/69627 (Conditional jump or move depends on uninitialised value(s) in ...Jakub Jelinek1-2/+3
2016-01-26PR other/69006: fix extra newlines after diagnosticsDavid Malcolm1-28/+33
2016-01-16PR diagnostic/68899: fix read-beyond-buffer when printing very wide source linesDavid Malcolm1-2/+1
2016-01-04Update copyright years.Jakub Jelinek1-1/+1
2015-12-22PR c/68473: sanitize source range-printing within certain macro expansionsDavid Malcolm1-6/+28
2015-11-20PR 62314: add ability to add fixit-hints to a diagnosticDavid Malcolm1-5/+101
2015-11-06Reimplement diagnostic_show_locus, introducing rich_location classesDavid Malcolm1-100/+655