diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-08-31 22:01:23 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-09-13 18:38:51 +0200 |
commit | 1985392242d9a6bf8b091f78143d3c1fa9ccd284 (patch) | |
tree | bb9669251850505aa0e4979dfad8ec173f820acb /contrib/gcc-changelog/git_commit.py | |
parent | accf94329d61933e6c58c1d7815fb08d8fc2afa5 (diff) | |
download | gcc-1985392242d9a6bf8b091f78143d3c1fa9ccd284.zip gcc-1985392242d9a6bf8b091f78143d3c1fa9ccd284.tar.gz gcc-1985392242d9a6bf8b091f78143d3c1fa9ccd284.tar.bz2 |
Clarify 'key_type_t' to 'location_t' as used for 'gcc/diagnostic-spec.h:nowarn_map'
To make it obvious what exactly the key type is. No change in behavior.
gcc/
* diagnostic-spec.h (typedef xint_hash_t): Use 'location_t' instead of...
(typedef key_type_t): ... this. Remove.
(nowarn_map): Document.
* diagnostic-spec.c (nowarn_map): Likewise.
* warning-control.cc (convert_to_key): Evolve functions into...
(get_location): ... these. Adjust all users.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions