clang-tools 22.0.0git
|
Warns about code that tries to cast between pointers by means of std::bit_cast or memcpy. More...
#include <BitwisePointerCastCheck.h>
Public Member Functions | |
BitwisePointerCastCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
Warns about code that tries to cast between pointers by means of std::bit_cast or memcpy.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/bitwise-pointer-cast.html
Definition at line 21 of file BitwisePointerCastCheck.h.
|
inline |
Definition at line 23 of file BitwisePointerCastCheck.h.
|
override |
Definition at line 36 of file BitwisePointerCastCheck.cpp.
|
inlineoverride |
Definition at line 27 of file BitwisePointerCastCheck.h.
|
override |
Definition at line 16 of file BitwisePointerCastCheck.cpp.