clang-tools 20.0.0git
Public Member Functions | List of all members
clang::tidy::utils::UsingInserter Class Reference

#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)
 

Detailed Description

Definition at line 24 of file UsingInserter.h.

Constructor & Destructor Documentation

◆ UsingInserter()

clang::tidy::utils::UsingInserter::UsingInserter ( const SourceManager &  SourceMgr)

Definition at line 28 of file UsingInserter.cpp.

Member Function Documentation

◆ createUsingDeclaration()

std::optional< FixItHint > clang::tidy::utils::UsingInserter::createUsingDeclaration ( ASTContext &  Context,
const Stmt &  Statement,
llvm::StringRef  QualifiedName 
)

◆ getShortName()

StringRef clang::tidy::utils::UsingInserter::getShortName ( ASTContext &  Context,
const Stmt &  Statement,
llvm::StringRef  QualifiedName 
)

The documentation for this class was generated from the following files: