diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-10-27 08:48:26 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-10-27 10:07:31 -0700 |
commit | 88f8b3dda534277feccb16ba055c01908db15873 (patch) | |
tree | 09833d73c65c0d6ea4fe45d6453771ebc8dd03a9 /gcc/fortran/resolve.c | |
parent | 0f801e0b6cc9f67c9a8983127e23161f6025c5b6 (diff) | |
download | gcc-88f8b3dda534277feccb16ba055c01908db15873.zip gcc-88f8b3dda534277feccb16ba055c01908db15873.tar.gz gcc-88f8b3dda534277feccb16ba055c01908db15873.tar.bz2 |
c++: Small cleanup for do_type_instantiation
In working on a bigger cleanup I noticed some opportunities to make
do_type_instantiation's control flow simpler.
gcc/cp/
* parser.c (cp_parser_explicit_instantiation): Refactor some RAII.
* pt.c (bt_instantiate_type_proc): DATA is the tree, pass type to
do_type_instantiation.
(do_type_instantiation): Require T to be a type. Refactor for
some RAII.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions