clang-tools 19.0.0git
Public Member Functions | List of all members
clang::tidy::modernize::NS Class Reference

#include <ConcatNestedNamespacesCheck.h>

Inheritance diagram for clang::tidy::modernize::NS:
Inheritance graph
[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 80 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 54 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 50 of file ConcatNestedNamespacesCheck.cpp.


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