aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.c
AgeCommit message (Expand)AuthorFilesLines
2018-05-17line-map.c (linemap_init): Use placement new.Jason Merrill1-1/+1
2018-02-16re PR bootstrap/82939 (genmatch fills up terminal with endless printing of pe...Richard Biener1-0/+5
2018-01-03Update copyright years.Jakub Jelinek1-1/+1
2017-11-28Reject fix-it hints for various awkward boundary cases (PR c/82050)David Malcolm1-5/+8
2017-07-07libcpp: preserve ranges within macro expansions (PR c++/79300)David Malcolm1-6/+8
2017-07-06diagnostics: fix end-points of ranges within macros (PR c++/79300)David Malcolm1-6/+12
2017-06-21line-map.c (location_adhoc_data_update): Perform addition in uintptr_t type r...Jakub Jelinek1-2/+3
2017-06-20Prevent fix-it hints from affecting more than one lineDavid Malcolm1-2/+19
2017-06-15PR c++/80560 - warn on undefined memory operations involving non-trivial typesMartin Sebor1-2/+3
2017-06-09Add support for mutually-incompatible fix-it hintsDavid Malcolm1-1/+2
2017-05-02Support fix-it hints that add new linesDavid Malcolm1-6/+44
2017-05-01Eliminate fixit_hint class hierarchyDavid Malcolm1-151/+67
2017-01-10Fix issues with unrepresentable column numbers (PR c++/77949)David Malcolm1-1/+18
2017-01-07Fix linemap corruption after very wide source lines (PR c++/72803)David Malcolm1-1/+1
2017-01-01Update copyright years.Jakub Jelinek1-1/+1
2016-10-25Implement ~line_maps ()David Malcolm1-7/+8
2016-09-21Add from_macro_definition_at predicate for locations.Jason Merrill1-3/+33
2016-09-15fix-it hints can't contain newlinesDavid Malcolm1-0/+13
2016-09-13fix-it hints: insert_before vs insert_afterDavid Malcolm1-11/+54
2016-08-31diagnostic-show-locus.c: handle fixits on lines outside the regular rangesDavid Malcolm1-2/+2
2016-08-31Remove arbitrary limits from rich_locationDavid Malcolm1-39/+53
2016-08-30rich_location: add convenience overloads for adding fix-it hintsDavid Malcolm1-0/+54
2016-08-29Allow the use of ad-hoc locations for fix-it hintsDavid Malcolm1-0/+27
2016-08-26Add validation and consolidation of fix-it hintsDavid Malcolm1-2/+134
2016-08-19Reimplement removal fix-it hints in terms of replaceDavid Malcolm1-17/+1
2016-07-11input.c: add lexing selftests and a test matrix for line_table statesDavid Malcolm1-12/+0
2016-06-22c-common.c (get_source_date_epoch): Use int64_t instead of long long.John David Anglin1-2/+2
2016-03-25re PR preprocessor/69650 (ICE in linemap_line_start, at libcpp/line-map.c:803)Bernd Schmidt1-29/+9
2016-03-15Fix compiling large filesRichard Henderson1-1/+1
2016-03-09PR c++/70105: prevent nonsensical underline spew for macro expansionsDavid Malcolm1-2/+0
2016-03-09PR c++/70105: Defer location expansion until diagnostic_show_locusDavid Malcolm1-78/+40
2016-03-01PR preprocessor/69985: fix ICE with long lines in -WformatDavid Malcolm1-8/+9
2016-02-23PR preprocessor/69126: avoid comparing ad-hoc and non-ad-hoc locationsDavid Malcolm1-2/+7
2016-02-08PR preprocessor/69664: fix rich_location::override_columnDavid Malcolm1-1/+10
2016-01-14PR preprocessor/69177 and PR c++/68819: libcpp fallbacks and -Wmisleading-ind...David Malcolm1-6/+21
2016-01-04Update copyright years.Jakub Jelinek1-1/+1
2015-12-22libcpp: Avoid unnecessary ad-hoc uses for large source filesDavid Malcolm1-3/+2
2015-12-07Fix missing range information for "%q+D" format codeDavid Malcolm1-17/+18
2015-11-20PR 62314: add ability to add fixit-hints to a diagnosticDavid Malcolm1-2/+134
2015-11-13Source range tracking in libcpp and C FE, with bit-packing optimizationDavid Malcolm1-41/+233
2015-11-06Reimplement diagnostic_show_locus, introducing rich_location classesDavid Malcolm1-0/+130
2015-11-06Add stats on adhoc table to dump_line_table_statisticsDavid Malcolm1-0/+3
2015-09-21Handle lines encoded into several maps in linemap_position_for_loc_and_offsetManuel López-Ibáñez1-14/+20
2015-06-08re PR c/66415 (ice in location_column_from_byte_offset)Marek Polacek1-3/+5
2015-05-26line-map.c (LINE_MAP_MAX_COLUMN_NUMBER LINE_MAP_MAX_LOCATION_WITH_COLS,LINE_M...Manuel López-Ibáñez1-6/+20
2015-05-20libcpp: Eliminate most of the non-const/reference-returning inline fnsDavid Malcolm1-15/+14
2015-05-19Replace line_map union with C++ class hierarchyDavid Malcolm1-101/+136
2015-05-13libcpp: Replace macro usage with C++ constructsDavid Malcolm1-3/+3
2015-05-05libcpp: Improvements to comments in line-map.h/cDavid Malcolm1-1/+1
2015-01-05Update copyright years.Jakub Jelinek1-1/+1