]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: small refactor
authorJason Merrill <jason@redhat.com>
Tue, 1 Nov 2022 15:27:18 +0000 (11:27 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 2 Nov 2022 15:04:57 +0000 (11:04 -0400)
commit0c073c813d4ca2bbba9d0801171308ff429dbbbe
tree444f3d80f525e99da2d5cf0f83598f73c232736e
parent4f428e8b3f0a8a2ee282a952e1f70a8146478cdd
c++: small refactor

Reducing the number of places that check DECL_{CONS,DES}TRUCTOR_P to decide
whether to outline the contracts.
gcc/cp/contracts.cc
gcc/cp/decl.cc
gcc/cp/semantics.cc