Finds base classes whose destructor is neither public and virtual nor protected and non-virtual.
More...
#include <VirtualClassDestructorCheck.h>
Finds base classes whose destructor is neither public and virtual nor protected and non-virtual.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/virtual-class-destructor.html
Definition at line 22 of file VirtualClassDestructorCheck.h.
◆ VirtualClassDestructorCheck()
clang::tidy::cppcoreguidelines::VirtualClassDestructorCheck::VirtualClassDestructorCheck |
( |
StringRef | Name, |
|
|
ClangTidyContext * | Context ) |
|
inline |
◆ check()
void clang::tidy::cppcoreguidelines::VirtualClassDestructorCheck::check |
( |
const ast_matchers::MatchFinder::MatchResult & | Result | ) |
|
|
override |
◆ isLanguageVersionSupported()
bool clang::tidy::cppcoreguidelines::VirtualClassDestructorCheck::isLanguageVersionSupported |
( |
const LangOptions & | LangOpts | ) |
const |
|
inlineoverride |
◆ registerMatchers()
void clang::tidy::cppcoreguidelines::VirtualClassDestructorCheck::registerMatchers |
( |
ast_matchers::MatchFinder * | Finder | ) |
|
|
override |
The documentation for this class was generated from the following files: