Skip to content

Do we really need clang-sa while clang-tidy does the same and more? #3209

Answered by gyorb
irishrover asked this question in Q&A
Discussion options

You must be logged in to vote

Without going to much into the details. There are a lot of features in clang SA which are not available in clang tidy and can be only configured or used through clang SA:

  • Cross Translation Unit Analysis
  • Z3 theorem prover can be used to replace (really slow right now) the built-in range based solver, or just to double check/refute the results to reduce false positives (refutation does not increases the analysis time too much)
  • checker plugins (write checkers in an shared object)
  • I'm not sure how a multi file static analyzer report is generated in clang-tidy's text based output
  • option to expand macros in the analyzer reports (this is a clang static analyzer option which can help to understa…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by csordasmarton
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2419 on February 23, 2021 12:39.