clang-tools 22.0.0git
clang::tidy::readability::NamespaceCommentCheck Class Reference

Checks that long namespaces have a closing comment. More...

#include <NamespaceCommentCheck.h>

Inheritance diagram for clang::tidy::readability::NamespaceCommentCheck:
[legend]

Public Member Functions

 NamespaceCommentCheck (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

Detailed Description

Constructor & Destructor Documentation

◆ NamespaceCommentCheck()

clang::tidy::readability::NamespaceCommentCheck::NamespaceCommentCheck ( StringRef Name,
ClangTidyContext * Context )

Definition at line 22 of file NamespaceCommentCheck.cpp.

Member Function Documentation

◆ check()

void clang::tidy::readability::NamespaceCommentCheck::check ( const ast_matchers::MatchFinder::MatchResult & Result)
override

◆ isLanguageVersionSupported()

bool clang::tidy::readability::NamespaceCommentCheck::isLanguageVersionSupported ( const LangOptions & LangOpts) const
inlineoverride

Definition at line 25 of file NamespaceCommentCheck.h.

◆ registerMatchers()

void clang::tidy::readability::NamespaceCommentCheck::registerMatchers ( ast_matchers::MatchFinder * Finder)
override

Definition at line 41 of file NamespaceCommentCheck.cpp.


The documentation for this class was generated from the following files: