aboutsummaryrefslogtreecommitdiff
path: root/gcc/common/config/ia64
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2025-07-15 16:19:53 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2025-07-15 16:19:53 -0400
commit1f0d76d61b94acc8a207c656dfe8f0fa7a38d742 (patch)
treeb9a0bd622fc0810da00d85a548aa85a25d6aa785 /gcc/common/config/ia64
parent2a521eee58da7c0d0f2262181b804aa148e60aaf (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
spellcheck.{cc,h}: modernizationHEADtrunkmaster
No functional change intended. gcc/ChangeLog: * spellcheck.cc: Define INCLUDE_ALGORITHM. (CASE_COST, BASE_COST): Convert to... (case_cost, base_cost): ...these, in an anonymous namespace. (get_edit_distance): Update for above. Use std::min rather than MIN. (get_edit_distance_cutoff): Likewise. Use std::max rather than MAX. (selftest::test_edit_distances): Update for BASE_COST renaming. (selftest::get_old_cutoff): Likewise. Use std::max. (selftest::assert_not_suggested_for): Use nullptr. (selftest::test_find_closest_string): Likewise. * spellcheck.h: Replace TYPE with StringLikeType in templates, and use CamelCase. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/common/config/ia64')
0 files changed, 0 insertions, 0 deletions