]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Refactor PathProbeType code into CC file
authorPhilip Herron <herron.philip@googlemail.com>
Mon, 16 Jan 2023 17:54:41 +0000 (17:54 +0000)
committerPhilip Herron <herron.philip@googlemail.com>
Sun, 5 Feb 2023 00:10:47 +0000 (00:10 +0000)
commitd5d70e3fa6e66798b1f2eca4b9aa3821ae4dc0c5
treee28251401855befa4d230677e2812cf0f189946d
parent3e044eb0d53b5fb66cf683e0a86706ce68eec2f1
gccrs: Refactor PathProbeType code into CC file

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

* typecheck/rust-hir-path-probe.cc (PathProbeCandidate::Candidate::Candidate): refactor
(PathProbeCandidate::PathProbeCandidate): likewise
(PathProbeCandidate::as_string): likewise
(PathProbeCandidate::is_enum_candidate): likewise
(PathProbeCandidate::is_impl_candidate): likewise
(PathProbeCandidate::is_trait_candidate): likewise
(PathProbeCandidate::is_full_trait_item_candidate): likewise
(PathProbeCandidate::get_error): likewise
(PathProbeCandidate::is_error): likewise
(PathProbeCandidate::get_defid): likewise
(PathProbeCandidate::operator<): likewise
* typecheck/rust-hir-path-probe.h (struct PathProbeCandidate): likewise
gcc/rust/typecheck/rust-hir-path-probe.cc
gcc/rust/typecheck/rust-hir-path-probe.h