mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Use const where possible.
This commit is contained in:
32
ChangeLog
32
ChangeLog
@@ -1,5 +1,37 @@
|
||||
2002-11-03 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* src/hash-table.h (Hash_Table::_ignore_length, Hash_Table::equal):
|
||||
Declare as const.
|
||||
* src/hash-table.cc (Hash_Table::equal): Declare as const.
|
||||
* src/input.h (Input::_factory): Declare as const.
|
||||
* src/keyword-list.h (Keyword_List::first, KeywordExt_List::first):
|
||||
Declare as const.
|
||||
* src/keyword-list.icc (Keyword_List::first, KeywordExt_List::first):
|
||||
Declare as const.
|
||||
* src/output.h (Output::num_hash_values, Output::output_constants,
|
||||
Output::output_hash_function, Output::output_keylength_table,
|
||||
Output::output_keyword_table, Output::output_lookup_array,
|
||||
Output::output_lookup_tables, Output::output_lookup_function_body,
|
||||
Output::output_lookup_function, Output::_array_type,
|
||||
Output::_additional_code, Output::_include_src, Output::_total_keys,
|
||||
Output::_total_duplicates, Output::_max_key_len, Output::_min_key_len):
|
||||
Declare as const.
|
||||
* src/output.cc (Output::num_hash_values, Output::output_constants,
|
||||
Output::output_hash_function, Output::output_keylength_table,
|
||||
Output::output_keyword_table, Output::output_lookup_array,
|
||||
Output::output_lookup_tables, Output::output_lookup_function_body,
|
||||
Output::output_lookup_function): Declare as const.
|
||||
* src/search.h (Search::merge, Search::merge_sort,
|
||||
Search::compute_occurrence, Search::already_determined,
|
||||
Search::keyword_list_length, Search::max_key_length,
|
||||
Search::get_max_keysig_size, Search::compute_hash,
|
||||
Search::sort_by_occurrence): Declare as const.
|
||||
* src/search.cc (Search::merge, Search::merge_sort,
|
||||
Search::compute_occurrence, Search::already_determined,
|
||||
Search::keyword_list_length, Search::max_key_length,
|
||||
Search::get_max_keysig_size, Search::compute_hash,
|
||||
Search::sort_by_occurrence): Declare as const.
|
||||
|
||||
* src/output.cc (Output::output): Set char_to_index to a cast in all
|
||||
cases. Avoids gcc warnings on the generated code.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user