elliotchance / c2go

⚖️ A tool for transpiling C to Go.
MIT License
2.09k stars 155 forks source link

Add support for NoDebugAttr #827

Open cornelk opened 4 years ago

cornelk commented 4 years ago

Fixes panic: unknown node type: 'NoDebugAttr 0x2ebd788 <col:59>'


This change is Reviewable

elliotchance commented 4 years ago

I have tried to update go and clang. However, there are a few years of upgrades and the changes are not trivial: https://github.com/elliotchance/c2go/pull/828

The next few months will be too busy for me to visit this project in any more depth. You are welcome to try and get the build working with my changes and I will happily review and merge it.

Unfortunately this means this PR will remain stalled until then.

codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4de3ec9). Click here to learn what that means. Patch coverage: 52.38% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #827 +/- ## ========================================= Coverage ? 77.86% ========================================= Files ? 170 Lines ? 9814 Branches ? 0 ========================================= Hits ? 7642 Misses ? 1695 Partials ? 477 ``` | [Impacted Files](https://codecov.io/gh/elliotchance/c2go/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elliot+Chance) | Coverage Δ | | |---|---|---| | [ast/position.go](https://codecov.io/gh/elliotchance/c2go/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elliot+Chance#diff-YXN0L3Bvc2l0aW9uLmdv) | `76.82% <0.00%> (ø)` | | | [ast/no\_debug\_attr.go](https://codecov.io/gh/elliotchance/c2go/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elliot+Chance#diff-YXN0L25vX2RlYnVnX2F0dHIuZ28=) | `52.94% <52.94%> (ø)` | | | [ast/ast.go](https://codecov.io/gh/elliotchance/c2go/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elliot+Chance#diff-YXN0L2FzdC5nbw==) | `98.35% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elliot+Chance). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elliot+Chance)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.