]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Simplify tsubst_template_decl
authorNathan Sidwell <nathan@acm.org>
Thu, 14 May 2020 14:33:13 +0000 (07:33 -0700)
committerNathan Sidwell <nathan@acm.org>
Thu, 14 May 2020 14:33:13 +0000 (07:33 -0700)
commitf497e36ae56f0f22b1d60171509c75f7b11f8663
treeb7aeb392fc50b3e5dd27823374d7cab4166888a4
parentddbaab134ca4603f7d4ac0d1646f40f9c13405ff
c++: Simplify tsubst_template_decl

tsubst_template_decl's control flow was also confusing.  This reorders
and flattens some of the conditionals.

* pt.c (tsubst_template_decl): Reorder and commonize some control
paths.
gcc/cp/ChangeLog
gcc/cp/pt.c