c++: using-decl instantiation

Nathan Sidwell nathan@acm.org
Tue Nov 3 18:23:36 GMT 2020


Jason,
I suspect the invariants this encodes will be broken by the using enum 
patches.  That's fine, but at least this'll shout at someone if they 
change and we don't address it.

In streaming using decls I needed to check some	assumptions.  This
adds those checks to the instantiation machinery.

         gcc/cp/
         * pt.c (tsubst_expr): Simplify using decl instantiation, add
         asserts.

pushing to trunk
-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tpl-using.diff
Type: text/x-patch
Size: 1133 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201103/7a15ce22/attachment.bin>


More information about the Gcc-patches mailing list