aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-09-29 00:16:38 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-09-29 00:16:38 +0000
commit9e79a25b66cb7e0ddbd1410ecc86cec25588d172 (patch)
tree07831ba1acc15a3ce2b600306a79416b0c969af6 /libcpp
parentd01f112de4a54db6d2abef836e6dff3a08167389 (diff)
downloadgcc-9e79a25b66cb7e0ddbd1410ecc86cec25588d172.zip
gcc-9e79a25b66cb7e0ddbd1410ecc86cec25588d172.tar.gz
gcc-9e79a25b66cb7e0ddbd1410ecc86cec25588d172.tar.bz2
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog25
1 files changed, 25 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index c74efc0..3b41845 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,28 @@
+2022-09-28 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * include/line-map.h: Add discriminator to location_adhoc_data.
+ (get_combined_adhoc_loc): Add discriminator parameter.
+ (get_discriminator_from_adhoc_loc): Add external declaration.
+ (get_discriminator_from_loc): Add external declaration.
+ (COMBINE_LOCATION_DATA): Add discriminator parameter.
+ * lex.cc (get_location_for_byte_range_in_cur_line) Pass 0 discriminator
+ in a call to COMBINE_LOCATION_DATA.
+ (warn_about_normalization): Pass 0 discriminator in a call to
+ COMBINE_LOCATION_DATA.
+ (_cpp_lex_direct): Pass 0 discriminator in a call to
+ COMBINE_LOCATION_DATA.
+ * line-map.cc (location_adhoc_data_hash): Use discriminator compute
+ location_adhoc_data hash.
+ (location_adhoc_data_eq): Use discriminator when comparing
+ location_adhoc_data.
+ (can_be_stored_compactly_p): Check discriminator to determine
+ compact storage.
+ (get_combined_adhoc_loc): Add discriminator parameter.
+ (get_discriminator_from_adhoc_loc): New function to get the discriminator
+ from an ad-hoc location.
+ (get_discriminator_from_loc): New function to get the discriminator
+ from a location.
+
2022-09-27 Jakub Jelinek <jakub@redhat.com>
PR c++/106652