-
Notifications
You must be signed in to change notification settings - Fork 415
Add clang-tidy yaml report converter #4335
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
Conversation
bfc6fc9
to
4ce83eb
Compare
b32ed15
to
e5e990a
Compare
2c5a4ff
to
9c6e430
Compare
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy_yaml/parser.py
Show resolved
Hide resolved
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy_yaml/parser.py
Outdated
Show resolved
Hide resolved
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy_yaml/parser.py
Outdated
Show resolved
Hide resolved
tools/report-converter/codechecker_report_converter/analyzers/clang_tidy_yaml/parser.py
Outdated
Show resolved
Hide resolved
tools/report-converter/tests/unit/analyzers/test_clang_tidy_yaml_parser.py
Outdated
Show resolved
Hide resolved
0af9303
to
5c4bb0f
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.
Create a concrete test case which shows an example where the hash will be different than the original clang-tidy stdout converter
5c4bb0f
to
fa86b69
Compare
Currently clang-tidy reports are parsed and converted to plist files from the clang-tidy standard outputs. This change adds a new report converter that uses clang-tidy's yaml outputs as inputs for parsing and creating plist files.
fa86b69
to
028c2d1
Compare
Looks like this issue occurred earlier due to some differences in filenames/file paths. Unified clang-tidy & clang-tidy-yaml test case no. 3 and added test case no. 7 for both report converters to demonstrate this. The tests were made using the same build directory and filename, and the output files contain the same hashes. |
"Diagnostics" is a mandatory element of the yaml file.
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
Currently clang-tidy reports are parsed and converted to plist files from the clang-tidy standard outputs. This change adds a new report converter that uses clang-tidy's yaml outputs as inputs for parsing and creating plist files. See #4063