clang-tools 22.0.0git
|
Detects unsafe or redundant two-step casting operations involving void*. More...
#include <CastingThroughVoidCheck.h>
Public Member Functions | |
CastingThroughVoidCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
std::optional< TraversalKind > | getCheckTraversalKind () const override |
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.
|
inline |
Definition at line 21 of file CastingThroughVoidCheck.h.
|
override |
Definition at line 36 of file CastingThroughVoidCheck.cpp.
|
inlineoverride |
Definition at line 25 of file CastingThroughVoidCheck.h.
|
override |
Definition at line 19 of file CastingThroughVoidCheck.cpp.