clang-tools 22.0.0git
|
Detects redundant access specifiers inside classes, structs, and unions. More...
#include <RedundantAccessSpecifiersCheck.h>
Public Member Functions | |
RedundantAccessSpecifiersCheck (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 redundant access specifiers inside classes, structs, and unions.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-access-specifiers.html
Definition at line 20 of file RedundantAccessSpecifiersCheck.h.
|
inline |
Definition at line 22 of file RedundantAccessSpecifiersCheck.h.
|
override |
Definition at line 23 of file RedundantAccessSpecifiersCheck.cpp.
|
inlineoverride |
Definition at line 25 of file RedundantAccessSpecifiersCheck.h.
|
override |
Definition at line 17 of file RedundantAccessSpecifiersCheck.cpp.