aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-08-31 23:30:25 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-11-09 14:40:12 +0100
commit088199e5d0fc0d54f48af0783a2630a773bbb387 (patch)
treedc4ae7a9887625877b63e213a72b9c55f035e54c /gcc/cp/parser.c
parent2fc9b4d7b0cbc88e9986486329abe899a07729de (diff)
downloadgcc-088199e5d0fc0d54f48af0783a2630a773bbb387.zip
gcc-088199e5d0fc0d54f48af0783a2630a773bbb387.tar.gz
gcc-088199e5d0fc0d54f48af0783a2630a773bbb387.tar.bz2
Generalize 'gcc/input.h:struct location_hash'
This is currently only used here ('gcc/input.h:class string_concat_db'), but is actually generally useful, so advertize it as such. Per the rationale given, we may use 'BUILTINS_LOCATION' as spare value for 'Deleted', in addition to the existing use of 'UNKNOWN_LOCATION' as spare value for 'Empty'. gcc/ * input.h (location_hash): Use 'BUILTINS_LOCATION' as spare value for 'Deleted'. Turn into a '#define'.
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions