clang-tools 22.0.0git
|
#include <ConcatNestedNamespacesCheck.h>
Public Member Functions | |
ConcatNestedNamespacesCheck (StringRef Name, ClangTidyContext *Context) | |
bool | unsupportedNamespace (const NamespaceDecl &ND, bool IsChild) const |
bool | singleNamedNamespaceChild (const NamespaceDecl &ND) const |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Definition at line 33 of file ConcatNestedNamespacesCheck.h.
|
inline |
Definition at line 35 of file ConcatNestedNamespacesCheck.h.
|
override |
Definition at line 166 of file ConcatNestedNamespacesCheck.cpp.
References clang::tidy::modernize::locationsInSameFile(), singleNamedNamespaceChild(), and unsupportedNamespace().
|
inlineoverride |
Definition at line 39 of file ConcatNestedNamespacesCheck.h.
|
override |
Definition at line 117 of file ConcatNestedNamespacesCheck.cpp.
bool clang::tidy::modernize::ConcatNestedNamespacesCheck::singleNamedNamespaceChild | ( | const NamespaceDecl & | ND | ) | const |
Definition at line 107 of file ConcatNestedNamespacesCheck.cpp.
References unsupportedNamespace().
Referenced by check().
bool clang::tidy::modernize::ConcatNestedNamespacesCheck::unsupportedNamespace | ( | const NamespaceDecl & | ND, |
bool | IsChild ) const |
Definition at line 95 of file ConcatNestedNamespacesCheck.cpp.
Referenced by check(), and singleNamedNamespaceChild().