Suppress diagnostics substituting into a requires-expression (PR c++/92403).
authorAndrew Sutton <asutton@lock3software.com>
Tue, 19 Nov 2019 15:11:14 +0000 (15:11 +0000)
committerAndrew Sutton <asutton@gcc.gnu.org>
Tue, 19 Nov 2019 15:11:14 +0000 (15:11 +0000)
commit7aabd67f18fb1e0ef4c9981667284c2e57816e01
tree59d5bd25177355d54ec96d685daec4ad46c0d68e
parent8b24d594fe111f96578eaaa8ecb14891ffeebdd3
Suppress diagnostics substituting into a requires-expression (PR c++/92403).

gcc/cp/
* pt.c (tsubst_copy_and_build): Perform the first substitution without
diagnostics and a second only if tsubst_requries_expr returns an error.

From-SVN: r278449
gcc/cp/ChangeLog
gcc/cp/pt.c