clang-tools 22.0.0git
|
#include <ConcatNestedNamespacesCheck.h>
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 |
Definition at line 20 of file ConcatNestedNamespacesCheck.h.
void clang::tidy::modernize::NS::appendCloseComment | ( | NamespaceName & | Str | ) | const |
Definition at line 88 of file ConcatNestedNamespacesCheck.cpp.
References appendName(), and clang::tidy::modernize::getName().
Referenced by getNamespaceBackRange().
void clang::tidy::modernize::NS::appendName | ( | NamespaceName & | Str | ) | const |
Definition at line 79 of file ConcatNestedNamespacesCheck.cpp.
Referenced by appendCloseComment().
std::optional< SourceRange > clang::tidy::modernize::NS::getCleanedNamespaceFrontRange | ( | const SourceManager & | SM, |
const LangOptions & | LangOpts ) const |
Definition at line 33 of file ConcatNestedNamespacesCheck.cpp.
References clang::tidy::utils::lexer::findNextTokenSkippingComments().
SourceRange clang::tidy::modernize::NS::getDefaultNamespaceBackRange | ( | ) | const |
Definition at line 53 of file ConcatNestedNamespacesCheck.cpp.
Referenced by getNamespaceBackRange().
SourceRange clang::tidy::modernize::NS::getNamespaceBackRange | ( | const SourceManager & | SM, |
const LangOptions & | LangOpts ) const |
Definition at line 56 of file ConcatNestedNamespacesCheck.cpp.
References appendCloseComment(), clang::tidy::utils::lexer::findNextTokenIncludingComments(), getDefaultNamespaceBackRange(), and clang::tidy::modernize::getRawStringRef().
SourceRange clang::tidy::modernize::NS::getReplacedNamespaceFrontRange | ( | ) | const |
Definition at line 49 of file ConcatNestedNamespacesCheck.cpp.