[PATCH] D73521: [analyzer][WIP] add-new-checker.py: Introduction
Csaba Dabis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 27 19:57:54 PST 2020
Charusso marked an inline comment as done.
Charusso added a comment.
This script dumps out a dummy checker which is the continuation of the Clang Tidy's https://github.com/llvm/llvm-project/blob/master/clang-tools-extra/clang-tidy/add_new_check.py
However, we could stick to the main-function-redeclaration-checker in a 2020 fashion. As I see peoples starting their careers with Tidy, that is why this checker born, but please feel free to swap or modify. I think that is the easiest way to document changes in requirements of checker-writing. I also wanted to document common mistakes, like how to use a `Twine`, what is a `dyn_cast_or_null<>` vs. `cast<>`, make sure the `SVal` type is written out and it is not `const` or `const*`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73521/new/
https://reviews.llvm.org/D73521
More information about the cfe-commits
mailing list