clang-tools  4.0.0
Classes | Functions
clang::rename Namespace Reference

Classes

class  RenamingASTConsumer
 
class  RenamingAction
 
class  NestedNameSpecifierLocFinder
 
class  NamedDeclFindingConsumer
 
struct  USRFindingAction
 

Functions

const NamedDecl * getNamedDeclAt (const ASTContext &Context, const SourceLocation Point)
 
const NamedDecl * getNamedDeclFor (const ASTContext &Context, const std::string &Name)
 
std::string getUSRForDecl (const Decl *Decl)
 
std::vector< SourceLocation > getLocationsOfUSRs (const std::vector< std::string > &USRs, StringRef PrevName, Decl *Decl)
 
std::vector< SourceLocation > getLocationsOfUSRs (const std::vector< std::string > &USRs, llvm::StringRef PrevName, Decl *Decl)
 

Function Documentation

std::vector<SourceLocation> clang::rename::getLocationsOfUSRs ( const std::vector< std::string > &  USRs,
llvm::StringRef  PrevName,
Decl *  Decl 
)
std::vector<SourceLocation> clang::rename::getLocationsOfUSRs ( const std::vector< std::string > &  USRs,
StringRef  PrevName,
Decl *  Decl 
)

Definition at line 154 of file USRLocFinder.cpp.

References Finder.

Referenced by clang::rename::RenamingASTConsumer::HandleOneRename().

const NamedDecl * clang::rename::getNamedDeclAt ( const ASTContext &  Context,
const SourceLocation  Point 
)
const NamedDecl * clang::rename::getNamedDeclFor ( const ASTContext &  Context,
const std::string &  Name 
)

Definition at line 193 of file USRFinder.cpp.

std::string clang::rename::getUSRForDecl ( const Decl *  Decl)

Definition at line 201 of file USRFinder.cpp.