Skip to content

[Core] Cover IWYU for all C++ folders #52627

@Ziy1-Tan

Description

@Ziy1-Tan

Follow up #52275 . IWYU is enabled at the example folder bazel/cpp/test in ci pipeline now and we can also run bazel build --iwyu <target> to perform iwyu anaylsis.

- label: ":coral: reef: iwyu tests"
commands:
- bazel test --config iwyu //bazel/tests/cpp:example_test
instance_type: small
depends_on: oss-ci-base_build
job_env: oss-ci-base_build
tags: tools

It's time to cover IWYU for all C++ folders to reduce redundant headers and implicit inclusion.
Rough idea:

  1. IWYU CI pipeline for a small C++ folder
  2. Perform IWYU cleanup by folder and add to IWYU ci

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticalci-testcommunity-backlogcoreIssues that should be addressed in Ray Coretech-debtThe issue that's due to tech debt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions