clang-tools 22.0.0git
clang::tidy::modernize::NS Class Reference

#include <ConcatNestedNamespacesCheck.h>

Inheritance diagram for clang::tidy::modernize::NS:
[legend]

Public Member Functions

std::optional< SourceRange > getCleanedNamespaceFrontRange (const SourceManager &SM, const LangOptions &LangOpts) const
SourceRange getReplacedNamespaceFrontRange () const
SourceRange getNamespaceBackRange (const SourceManager &SM, const LangOptions &LangOpts) const
SourceRange getDefaultNamespaceBackRange () const
void appendName (NamespaceName &Str) const
void appendCloseComment (NamespaceName &Str) const

Detailed Description

Definition at line 20 of file ConcatNestedNamespacesCheck.h.

Member Function Documentation

◆ appendCloseComment()

void clang::tidy::modernize::NS::appendCloseComment ( NamespaceName & Str) const

◆ appendName()

void clang::tidy::modernize::NS::appendName ( NamespaceName & Str) const

Definition at line 79 of file ConcatNestedNamespacesCheck.cpp.

Referenced by appendCloseComment().

◆ getCleanedNamespaceFrontRange()

std::optional< SourceRange > clang::tidy::modernize::NS::getCleanedNamespaceFrontRange ( const SourceManager & SM,
const LangOptions & LangOpts ) const

◆ getDefaultNamespaceBackRange()

SourceRange clang::tidy::modernize::NS::getDefaultNamespaceBackRange ( ) const

Definition at line 53 of file ConcatNestedNamespacesCheck.cpp.

Referenced by getNamespaceBackRange().

◆ getNamespaceBackRange()

SourceRange clang::tidy::modernize::NS::getNamespaceBackRange ( const SourceManager & SM,
const LangOptions & LangOpts ) const

◆ getReplacedNamespaceFrontRange()

SourceRange clang::tidy::modernize::NS::getReplacedNamespaceFrontRange ( ) const

Definition at line 49 of file ConcatNestedNamespacesCheck.cpp.


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