aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-12-10 11:33:35 -0800
committerNathan Sidwell <nathan@acm.org>2020-12-10 11:33:35 -0800
commit4f1d8bd5096cc234313b23f64cdac53a94ff75a2 (patch)
tree3610b7e2e5f001305053c2cf63306ddf8077fc59 /gcc/hooks.h
parentc0979d8f22a97eb231ebf544c512353372bdb25d (diff)
downloadgcc-4f1d8bd5096cc234313b23f64cdac53a94ff75a2.zip
gcc-4f1d8bd5096cc234313b23f64cdac53a94ff75a2.tar.gz
gcc-4f1d8bd5096cc234313b23f64cdac53a94ff75a2.tar.bz2
c++: modules & using-decls
This extends using-decls to modules. In modules you can export a using decl, but the exported decl must have external linkage already. One thing you can do is export something from the GMF. The novel thing is that now 'export using foo::bar;' *in namespace bar* can mean something significant (rather than be an obscure nop). gcc/cp/ * name-lookup.c (do_nonmember_using_decl): Add INSERT_P parm. Deal with exporting using decls. (finish_nonmember_using_decl): Examine BINDING_VECTOR.
Diffstat (limited to 'gcc/hooks.h')
0 files changed, 0 insertions, 0 deletions