clang-tools 22.0.0git
|
Finds unused using declarations. More...
#include <UnusedUsingDeclsCheck.h>
Public Member Functions | |
UnusedUsingDeclsCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
void | onEndOfTranslationUnit () override |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
Finds unused using declarations.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/misc/unused-using-decls.html
Definition at line 23 of file UnusedUsingDeclsCheck.h.
clang::tidy::misc::UnusedUsingDeclsCheck::UnusedUsingDeclsCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 48 of file UnusedUsingDeclsCheck.cpp.
|
override |
Definition at line 83 of file UnusedUsingDeclsCheck.cpp.
References clang::tidy::misc::shouldCheckDecl().
|
inlineoverride |
Definition at line 29 of file UnusedUsingDeclsCheck.h.
|
override |
Definition at line 212 of file UnusedUsingDeclsCheck.cpp.
|
override |
Definition at line 53 of file UnusedUsingDeclsCheck.cpp.
References clang::tidy::utils::isFileExtension().