aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-unswitch.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-12-03 11:12:08 -0800
committerNathan Sidwell <nathan@acm.org>2020-12-03 12:40:09 -0800
commitf7aeb823d9b0dee572015810cdb58103e91758f3 (patch)
tree57293338b9480879708331ced711d7dd83045e6c /gcc/tree-ssa-loop-unswitch.c
parent3089f5feef36810c625b5813370a97b4ecc841f8 (diff)
downloadgcc-f7aeb823d9b0dee572015810cdb58103e91758f3.zip
gcc-f7aeb823d9b0dee572015810cdb58103e91758f3.tar.gz
gcc-f7aeb823d9b0dee572015810cdb58103e91758f3.tar.bz2
c++: uninstantiated template friends
template friends need to be recognized by module streaming and associated with the befriending class. but their context is that of the friend (a namespace or other class). This adds a flag to mark such templates, and uses their DECL_CHAIN to point at the befriender. gcc/cp * cp-tree.h (DECL_UNINSTANTIATED_TEMPLATE_FRIEND): New. * pt.c (push_template_decl): Set it. (tsubst_friend_function): Clear it.
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions