clang-tools 22.0.0git
|
Detects unspecified behavior about equality comparison between pointer to member virtual function and anything other than null-pointer-constant. More...
#include <ComparePointerToMemberVirtualFunctionCheck.h>
Public Member Functions | |
ComparePointerToMemberVirtualFunctionCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Detects unspecified behavior about equality comparison between pointer to member virtual function and anything other than null-pointer-constant.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/compare-pointer-to-member-virtual-function.html
Definition at line 21 of file ComparePointerToMemberVirtualFunctionCheck.h.
|
inline |
Definition at line 23 of file ComparePointerToMemberVirtualFunctionCheck.h.
|
override |
Definition at line 57 of file ComparePointerToMemberVirtualFunctionCheck.cpp.
|
inlineoverride |
Definition at line 27 of file ComparePointerToMemberVirtualFunctionCheck.h.
|
override |
Definition at line 35 of file ComparePointerToMemberVirtualFunctionCheck.cpp.