clang-tools 22.0.0git
|
Checks all llvm-libc implementation is within the correct namespace. More...
#include <ImplementationInNamespaceCheck.h>
Public Member Functions | |
ImplementationInNamespaceCheck (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 |
Checks all llvm-libc implementation is within the correct namespace.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc/implementation-in-namespace.html
Definition at line 20 of file ImplementationInNamespaceCheck.h.
|
inline |
Definition at line 22 of file ImplementationInNamespaceCheck.h.
|
override |
Definition at line 27 of file ImplementationInNamespaceCheck.cpp.
References clang::tidy::llvm_libc::RequiredNamespaceDeclMacroName, clang::tidy::llvm_libc::RequiredNamespaceDeclStart, and clang::tidy::llvm_libc::RequiredNamespaceRefStart.
|
inlineoverride |
Definition at line 25 of file ImplementationInNamespaceCheck.h.
|
override |
Definition at line 17 of file ImplementationInNamespaceCheck.cpp.