clang-tools
15.0.0git
|
#include <NamespaceAliaser.h>
Public Member Functions | |
NamespaceAliaser (const SourceManager &SourceMgr) | |
llvm::Optional< FixItHint > | createAlias (ASTContext &Context, const Stmt &Statement, llvm::StringRef Namespace, const std::vector< std::string > &Abbreviations) |
std::string | getNamespaceName (ASTContext &Context, const Stmt &Statement, llvm::StringRef Namespace) const |
Definition at line 25 of file NamespaceAliaser.h.
|
explicit |
Definition at line 21 of file NamespaceAliaser.cpp.
Optional< FixItHint > clang::tidy::utils::NamespaceAliaser::createAlias | ( | ASTContext & | Context, |
const Stmt & | Statement, | ||
llvm::StringRef | Namespace, | ||
const std::vector< std::string > & | Abbreviations | ||
) |
Definition at line 30 of file NamespaceAliaser.cpp.
std::string clang::tidy::utils::NamespaceAliaser::getNamespaceName | ( | ASTContext & | Context, |
const Stmt & | Statement, | ||
llvm::StringRef | Namespace | ||
) | const |
Definition at line 81 of file NamespaceAliaser.cpp.