Detects unsafe or redundant two-step casting operations involving void*.
More...
#include <CastingThroughVoidCheck.h>
Detects unsafe or redundant two-step casting operations involving void*.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/casting-through-void.html
Definition at line 19 of file CastingThroughVoidCheck.h.
◆ CastingThroughVoidCheck()
| clang::tidy::bugprone::CastingThroughVoidCheck::CastingThroughVoidCheck |
( |
StringRef | Name, |
|
|
ClangTidyContext * | Context ) |
|
inline |
◆ check()
| void clang::tidy::bugprone::CastingThroughVoidCheck::check |
( |
const ast_matchers::MatchFinder::MatchResult & | Result | ) |
|
|
override |
◆ getCheckTraversalKind()
| std::optional< TraversalKind > clang::tidy::bugprone::CastingThroughVoidCheck::getCheckTraversalKind |
( |
| ) |
const |
|
inlineoverride |
◆ isLanguageVersionSupported()
| bool clang::tidy::bugprone::CastingThroughVoidCheck::isLanguageVersionSupported |
( |
const LangOptions & | LangOpts | ) |
const |
|
inlineoverride |
◆ registerMatchers()
| void clang::tidy::bugprone::CastingThroughVoidCheck::registerMatchers |
( |
ast_matchers::MatchFinder * | Finder | ) |
|
|
override |
The documentation for this class was generated from the following files: