clang-tools 22.0.0git
|
Finds copy constructors where the ctor don't call the copy constructor of the base class. More...
#include <CopyConstructorInitCheck.h>
Public Member Functions | |
CopyConstructorInitCheck (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 |
Finds copy constructors where the ctor don't call the copy constructor of the base class.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/copy-constructor-init.html
Definition at line 21 of file CopyConstructorInitCheck.h.
|
inline |
Definition at line 23 of file CopyConstructorInitCheck.h.
|
override |
Definition at line 32 of file CopyConstructorInitCheck.cpp.
|
inlineoverride |
Definition at line 25 of file CopyConstructorInitCheck.h.
|
override |
Definition at line 18 of file CopyConstructorInitCheck.cpp.