10 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_NAMESPACEALIASER_H
11 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_NAMESPACEALIASER_H
13 #include "clang/AST/ASTContext.h"
14 #include "clang/AST/Stmt.h"
15 #include "clang/Basic/Diagnostic.h"
16 #include "clang/Basic/SourceManager.h"
17 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/ADT/StringMap.h"
32 llvm::Optional<FixItHint>
34 llvm::StringRef Namespace,
35 const std::vector<std::string> &Abbreviations);
40 llvm::StringRef Namespace)
const;
43 const SourceManager &SourceMgr;
44 llvm::DenseMap<const FunctionDecl *, llvm::StringMap<std::string>>
52 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_NAMESPACEALIASER_H
NamespaceAliaser(const SourceManager &SourceMgr)
std::string getNamespaceName(ASTContext &Context, const Stmt &Statement, llvm::StringRef Namespace) const
ClangTidyContext & Context
llvm::Optional< FixItHint > createAlias(ASTContext &Context, const Stmt &Statement, llvm::StringRef Namespace, const std::vector< std::string > &Abbreviations)