-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[report-converter] Support Clang 17.0+ FixIt in Clang-Tidy #4052
Conversation
b03e840
to
a7fcd4a
Compare
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy/parser.py
Outdated
Show resolved
Hide resolved
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy/parser.py
Show resolved
Hide resolved
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy/parser.py
Outdated
Show resolved
Hide resolved
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy/parser.py
Outdated
Show resolved
Hide resolved
With the suggested changes, this looks fine for 6.23, but for 6.24 we should consider dropping the conversion from "random meaningless stdout text" to plist in favour of "well-formatted message and fix YAML" to plist. For a very long time now, Clang-Tidy was capable of dumping the structure of the created diagnostics (all the notes, warnings, and fixits, see https://github.com/llvm/llvm-project/blob/llvmorg-17.0.0/clang-tools-extra/test/clang-tidy/infrastructure/export-diagnostics.cpp!) in YAML. |
a4b8e22
to
74a295e
Compare
clang-tidy version 17 introduced a new fixit diagnostic formatting. The report converter is now prepared to parse this new format. It also still supports the old format.
…clang_tidy/parser.py Co-authored-by: whisperity <[email protected]>
74a295e
to
3c1a426
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
clang-tidy version 17 introduced a new fixit diagnostic formatting. The report converter is now prepared to parse this new format. It also still supports the old format.
Fixes #4047