clang-tools 22.0.0git
|
Finds overloads of unary operator &. More...
#include <OverloadedUnaryAndCheck.h>
Public Member Functions | |
OverloadedUnaryAndCheck (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 overloads of unary operator &.
https://google.github.io/styleguide/cppguide.html#Operator_Overloading
Corresponding cpplint.py check name: 'runtime/operator'.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/google/runtime-operator.html
Definition at line 24 of file OverloadedUnaryAndCheck.h.
|
inline |
Definition at line 26 of file OverloadedUnaryAndCheck.h.
|
override |
Definition at line 32 of file OverloadedUnaryAndCheck.cpp.
|
inlineoverride |
Definition at line 28 of file OverloadedUnaryAndCheck.h.
|
override |
Definition at line 17 of file OverloadedUnaryAndCheck.cpp.