|
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 90 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 81 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 34 of file ConcatNestedNamespacesCheck.cpp.
References clang::tidy::utils::lexer::findNextTokenSkippingComments().
| SourceRange clang::tidy::modernize::NS::getDefaultNamespaceBackRange | ( | ) | const |
Definition at line 54 of file ConcatNestedNamespacesCheck.cpp.
Referenced by getNamespaceBackRange().
| SourceRange clang::tidy::modernize::NS::getNamespaceBackRange | ( | const SourceManager & | SM, |
| const LangOptions & | LangOpts ) const |
Definition at line 57 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 50 of file ConcatNestedNamespacesCheck.cpp.