clang-tools 20.0.0git
|
#include <UsingInserter.h>
Public Member Functions | |
UsingInserter (const SourceManager &SourceMgr) | |
std::optional< FixItHint > | createUsingDeclaration (ASTContext &Context, const Stmt &Statement, llvm::StringRef QualifiedName) |
llvm::StringRef | getShortName (ASTContext &Context, const Stmt &Statement, llvm::StringRef QualifiedName) |
Definition at line 24 of file UsingInserter.h.
clang::tidy::utils::UsingInserter::UsingInserter | ( | const SourceManager & | SourceMgr | ) |
Definition at line 28 of file UsingInserter.cpp.
std::optional< FixItHint > clang::tidy::utils::UsingInserter::createUsingDeclaration | ( | ASTContext & | Context, |
const Stmt & | Statement, | ||
llvm::StringRef | QualifiedName | ||
) |
Definition at line 31 of file UsingInserter.cpp.
References clang::tidy::utils::getSurroundingFunction(), and clang::tidy::utils::getUnqualifiedName().
StringRef clang::tidy::utils::UsingInserter::getShortName | ( | ASTContext & | Context, |
const Stmt & | Statement, | ||
llvm::StringRef | QualifiedName | ||
) |
Definition at line 76 of file UsingInserter.cpp.
References clang::tidy::utils::getSurroundingFunction(), and clang::tidy::utils::getUnqualifiedName().