aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-07-15 00:16:35 +0000
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:17:44 -0300
commitc9b39bef7b3065518ab6c1737de02d053b40cfe4 (patch)
tree0e7b6cb548f24a4b3aca09c02344d495266cc8ae /libcpp
parent8a528b63b95deb26300c5c6a3e081e7b6eca4c30 (diff)
downloadgcc-c9b39bef7b3065518ab6c1737de02d053b40cfe4.zip
gcc-c9b39bef7b3065518ab6c1737de02d053b40cfe4.tar.gz
gcc-c9b39bef7b3065518ab6c1737de02d053b40cfe4.tar.bz2
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index ed65d15..f1abcbd 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,26 @@
+2020-07-14 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/49973
+ PR other/86904
+ * include/cpplib.h (struct cpp_options): Removed support for -ftabstop,
+ which is now handled by diagnostic_context.
+ (class cpp_display_width_computation): New class.
+ (cpp_byte_column_to_display_column): Add optional tabstop argument.
+ (cpp_display_width): Likewise.
+ (cpp_display_column_to_byte_column): Likewise.
+ * charset.c
+ (cpp_display_width_computation::cpp_display_width_computation): New
+ function.
+ (cpp_display_width_computation::advance_display_cols): Likewise.
+ (compute_next_display_width): Removed and implemented this
+ functionality in a new function...
+ (cpp_display_width_computation::process_next_codepoint): ...here.
+ (cpp_byte_column_to_display_column): Added tabstop argument.
+ Reimplemented in terms of class cpp_display_width_computation.
+ (cpp_display_column_to_byte_column): Likewise.
+ * init.c (cpp_create_reader): Remove handling of -ftabstop, which is now
+ handled by diagnostic_context.
+
2020-07-07 Nathan Sidwell <nathan@acm.org>
* directives.c (do_linemarker): Optimize rewinding to line zero.