Skip to content
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

Adding SARIF result format support for clang-tidy #55647

Open
shaopeng-gh opened this issue May 23, 2022 · 3 comments
Open

Adding SARIF result format support for clang-tidy #55647

shaopeng-gh opened this issue May 23, 2022 · 3 comments
Labels
clang-tidy enhancement Improving things as opposed to bug fixing, e.g. new or missing feature

Comments

@shaopeng-gh
Copy link

Hello! We are interested in adding support for output in the open-standard SARIF format to the clang-tidy, if not yet implemented. SARIF support is required to integrate it in GitHub code scanning. Doing so would make it available to every repo in GitHub.

More about SARIF here:
What is SARIF?
Why SARIF?

If you agree, we will be happy to looking into necessary code changes and provide guidance on creating a workflow to make it available as a GitHub code scanner.

Thanks,
Shaopeng

@EugeneZelenko EugeneZelenko added enhancement Improving things as opposed to bug fixing, e.g. new or missing feature clang-tidy and removed new issue labels May 23, 2022
@llvmbot
Copy link
Member

llvmbot commented May 23, 2022

@llvm/issue-subscribers-clang-tidy

@tschuett
Copy link

see https://discourse.llvm.org/t/rfc-improving-clang-s-diagnostics/62584

@amitdo
Copy link

amitdo commented Nov 14, 2022

Here is a third-party tool that converts clang-tidy output to sarif:

https://crates.io/crates/clang-tidy-sarif

https://github.com/psastras/sarif-rs/tree/main/clang-tidy-sarif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang-tidy enhancement Improving things as opposed to bug fixing, e.g. new or missing feature
Projects
None yet
Development

No branches or pull requests

5 participants