You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/05/23 06:08:16 UTC

[GitHub] [incubator-kvrocks] PragmaTwice opened a new issue, #602: Add clang tidy for static analysis

PragmaTwice opened a new issue, #602:
URL: https://github.com/apache/incubator-kvrocks/issues/602

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues.
   
   
   ### Motivation
   
   Clang tidy is a static analysis tool based on libclang, which itself is able to match problematic code patterns at the AST level. 
   Its power lies in the ability to directly call checkers in Clang StaticAnalyzer that perform basic symbolic execution and constraint solving on the control flow graph converted directly from the Clang AST.
   
   This allows clang tidy to check both code smell and some code safety issues such as memory leaks, null pointer dereferences or double frees in a more precise way (than cppcheck, cpplint, etc.). The full set of checkers in clang tidy can be viewed here: https://clang.llvm.org/extra/clang-tidy/checks/list.html.
   
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@kvrocks.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] tisonkun closed issue #602: Add clang tidy for static analysis

Posted by GitBox <gi...@apache.org>.
tisonkun closed issue #602: Add clang tidy for static analysis
URL: https://github.com/apache/incubator-kvrocks/issues/602


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org