clang-tools 22.0.0git
|
Finds declarations of assignment operators with the wrong return and/or argument types and definitions with good return type but wrong return statements. More...
#include <UnconventionalAssignOperatorCheck.h>
Public Member Functions | |
UnconventionalAssignOperatorCheck (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 declarations of assignment operators with the wrong return and/or argument types and definitions with good return type but wrong return statements.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/misc/unconventional-assign-operator.html
Definition at line 27 of file UnconventionalAssignOperatorCheck.h.
|
inline |
Definition at line 29 of file UnconventionalAssignOperatorCheck.h.
|
override |
Definition at line 84 of file UnconventionalAssignOperatorCheck.cpp.
|
inlineoverride |
Definition at line 31 of file UnconventionalAssignOperatorCheck.h.
|
override |
Definition at line 27 of file UnconventionalAssignOperatorCheck.cpp.