9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_USINGINSERTER_H 10 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_USINGINSERTER_H 12 #include "clang/AST/Decl.h" 13 #include "clang/AST/Stmt.h" 14 #include "clang/Basic/Diagnostic.h" 15 #include "clang/Basic/SourceManager.h" 31 llvm::Optional<FixItHint>
33 llvm::StringRef QualifiedName);
37 llvm::StringRef
getShortName(ASTContext &Context,
const Stmt &Statement,
38 llvm::StringRef QualifiedName);
41 typedef std::pair<const FunctionDecl *, std::string> NameInFunction;
42 const SourceManager &SourceMgr;
43 std::set<NameInFunction> AddedUsing;
49 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_USINGINSERTER_H UsingInserter(const SourceManager &SourceMgr)
llvm::Optional< FixItHint > createUsingDeclaration(ASTContext &Context, const Stmt &Statement, llvm::StringRef QualifiedName)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
llvm::StringRef getShortName(ASTContext &Context, const Stmt &Statement, llvm::StringRef QualifiedName)