Rust-GCC / Rust-GCC/gccrs

Split-up `ResolverBase` into multiple visitors

Open
#1,185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cleanup
Dominant language
C++
Stars
2.9k
Forks
231
Avg merge
20h 2m
Merged PRs (30d)
66

Description

Eventually, we want to do the same refactoring @dkm did for HIR over here. Since it will clean it up alot.

Originally posted by @philberty in https://github.com/Rust-GCC/gccrs/pull/1172#discussion_r858802353

Reference HIR PR from @dkm: #954

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating ResolverBase and study the HIR refactoring referenced in PR #954, comparing it with the approach used in HIR. Define the visitor boundaries and confirm the intended split with maintainers; done means ResolverBase has been separated into multiple visitors with equivalent behavior and appropriate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.