clang-tools 22.0.0git
|
This check ensures users don't open namespace absl, as that violates Abseil's compatibility guidelines. More...
#include <NoNamespaceCheck.h>
Public Member Functions | |
NoNamespaceCheck (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 |
This check ensures users don't open namespace absl, as that violates Abseil's compatibility guidelines.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/abseil/no-namespace.html
Definition at line 21 of file NoNamespaceCheck.h.
|
inline |
Definition at line 23 of file NoNamespaceCheck.h.
|
override |
Definition at line 23 of file NoNamespaceCheck.cpp.
|
inlineoverride |
Definition at line 25 of file NoNamespaceCheck.h.
|
override |
Definition at line 17 of file NoNamespaceCheck.cpp.