clang-tools
4.0.0
|
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) |
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 | ||
) |
Definition at line 169 of file USRFinder.cpp.
References Finder, clang::rename::NestedNameSpecifierLocFinder::getNestedNameSpecifierLocations(), and SM.
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.