9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_NAMESPACEALIASER_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_NAMESPACEALIASER_H
12#include "clang/AST/ASTContext.h"
13#include "clang/AST/Stmt.h"
14#include "clang/Basic/Diagnostic.h"
15#include "clang/Basic/SourceManager.h"
16#include "llvm/ADT/DenseMap.h"
17#include "llvm/ADT/StringMap.h"
30 std::optional<FixItHint>
31 createAlias(ASTContext &Context,
const Stmt &Statement,
32 llvm::StringRef Namespace,
33 const std::vector<std::string> &Abbreviations);
38 llvm::StringRef Namespace)
const;
41 const SourceManager &SourceMgr;
42 llvm::DenseMap<const FunctionDecl *, llvm::StringMap<std::string>>
std::string getNamespaceName(ASTContext &Context, const Stmt &Statement, llvm::StringRef Namespace) const
std::optional< FixItHint > createAlias(ASTContext &Context, const Stmt &Statement, llvm::StringRef Namespace, const std::vector< std::string > &Abbreviations)