diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-08 10:38:10 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-08 10:41:15 -0800 |
commit | dded5f78ccb785520804444871a7b6ca4b735370 (patch) | |
tree | ce07f49d461a256bf322fa2e9be7ad3bf439905b /gcc/vector-builder.h | |
parent | 5312fa0fd95aab112abe40f2a5cdb70a76e89fbf (diff) | |
download | gcc-dded5f78ccb785520804444871a7b6ca4b735370.zip gcc-dded5f78ccb785520804444871a7b6ca4b735370.tar.gz gcc-dded5f78ccb785520804444871a7b6ca4b735370.tar.bz2 |
c++: template and clone fns for modules
We need to expose build_cdtor_clones, it fortunately has the desired
API -- gosh, how did that happen? :) The template machinery will need
to cache path-of-instantiation information, so add two more fields to
the tinst_level struct. I also had to adjust the
match_mergeable_specialization API since adding it, so including that
change too.
gcc/cp/
* cp-tree.h (struct tinst_level): Add path & visible fields.
(build_cdtor_clones): Declare.
(match_mergeable_specialization): Use a spec_entry, add insert parm.
* class.c (build_cdtor_clones): Externalize.
* pt.c (push_tinst_level_loc): Clear new fields.
(match_mergeable_specialization): Adjust API.
Diffstat (limited to 'gcc/vector-builder.h')
0 files changed, 0 insertions, 0 deletions