Skip to content

CodeChecker fixit may corrupt CPP header files #4768

Description

@blozano-tt

Describe the bug
CodeChecker fixit may corrupt CPP header files.

CodeChecker version
Latest one on pypi

To Reproduce
Steps to reproduce the behaviour:

https://github.com/tenstorrent/tt-umd/blob/30e09bd228a760c4f822978403e5c0b75af1e37c/.github/workflows/copilot-autofix-clang-tidy.yaml#L163-L176

Expected behaviour
I'd expect no corruption

Desktop (please complete the following information)

  • OS: Linux Ubuntu Latest
  • Browser: [e.g. Firefox, Chrome]
  • Version: [e.g. 22]

Additional context
There are undoubtedly duplicate fixits from different translation units referencing the same defect.
Using clang-20 tools.

What CodeChecker did to my project: https://github.com/tenstorrent/tt-umd/pull/2040/files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions