]> gcc.gnu.org Git - gcc.git/commit
Adjust duplicate checker
authorNathan Sidwell <nathan@acm.org>
Mon, 7 Dec 2020 20:09:24 +0000 (12:09 -0800)
committerNathan Sidwell <nathan@acm.org>
Mon, 7 Dec 2020 20:09:24 +0000 (12:09 -0800)
commitb0db6b0b5e8b6eb23ad91f672d484162d62f6161
treea62655ad58dc34f033d2a931295588164df91269
parentf52faf7c78c78f29cec38c756a5f298acd3fc12f
Adjust duplicate checker

gcc/cp/
* cp-tree.h (comparing_typenames): Replace with ...
(map_context_from, map_context_to): ... this.
* typeck.c (structural_comptypes): Adjust.
* pt.c (comparing_typenames): Delete.
(spec_hasher::equal): Adjust.
* tree.c (cp_tree_equal): Check map_context_from & to for failed
parameter context.
* module.cc (map_context_from, map_context_to): Define.
(check_mergeable_decl): Set & unset map_context vars.
(trees_in::is_matching_decl): Likewise.
(module_state::read_cluster): Set & unset
comparing_specializations, not comparing_typenames.
ChangeLog.modules
gcc/cp/cp-tree.h
gcc/cp/module.cc
gcc/cp/pt.c
gcc/cp/tree.c
gcc/cp/typeck.c
This page took 0.061672 seconds and 6 git commands to generate.