]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/rust/typecheck/rust-tyty-bounds.cc
gccrs: Move TypePredicateItem impl out of the header
authorPhilip Herron <herron.philip@googlemail.com>
Thu, 12 Jan 2023 16:40:30 +0000 (16:40 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 6 Apr 2023 08:47:20 +0000 (10:47 +0200)
commitc1b1bbbc64524b508c0150c66163b27be508dbcf
treefe051747b3d2b7cf23a20b0b73f2cb0307853a21
parent8d1d08cdbcf40897282d9ed20ccf70bf2c93427c
gccrs: Move TypePredicateItem impl out of the header

This moves the implementation code out of the header and into its
respective cc file.

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:

* typecheck/rust-tyty-bounds.cc (TypeBoundPredicateItem::error): refactor
(TypeBoundPredicateItem::is_error): likewise
(TypeBoundPredicateItem::get_parent): likewise
* typecheck/rust-tyty.h: Move the implementation for the above
gcc/rust/typecheck/rust-tyty-bounds.cc
gcc/rust/typecheck/rust-tyty.h