clang-tools
3.9.0
|
Classes | |
class | RenamingASTConsumer |
class | RenamingAction |
struct | 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) |
static std::vector< std::string > | getAllConstructorUSRs (const CXXRecordDecl *Decl) |
std::vector< SourceLocation > | getLocationsOfUSR (StringRef USR, StringRef PrevName, Decl *Decl) |
std::vector< SourceLocation > | getLocationsOfUSR (llvm::StringRef USR, llvm::StringRef PrevName, Decl *Decl) |
|
static |
Definition at line 37 of file USRFindingAction.cpp.
References getUSRForDecl().
Referenced by clang::rename::NamedDeclFindingConsumer::HandleTranslationUnit().
std::vector<SourceLocation> clang::rename::getLocationsOfUSR | ( | llvm::StringRef | USR, |
llvm::StringRef | PrevName, | ||
Decl * | Decl | ||
) |
std::vector<SourceLocation> clang::rename::getLocationsOfUSR | ( | StringRef | USR, |
StringRef | PrevName, | ||
Decl * | Decl | ||
) |
Definition at line 211 of file USRLocFinder.cpp.
Referenced by clang::rename::RenamingASTConsumer::HandleTranslationUnit().
const NamedDecl * clang::rename::getNamedDeclAt | ( | const ASTContext & | Context, |
const SourceLocation | Point | ||
) |
Definition at line 144 of file USRFinder.cpp.
References Result, and SourceMgr.
Referenced by clang::rename::NamedDeclFindingConsumer::HandleTranslationUnit().
const NamedDecl * clang::rename::getNamedDeclFor | ( | const ASTContext & | Context, |
const std::string & | Name | ||
) |
Definition at line 168 of file USRFinder.cpp.
References Result, and SourceMgr.
Referenced by clang::rename::NamedDeclFindingConsumer::HandleTranslationUnit().
std::string clang::rename::getUSRForDecl | ( | const Decl * | Decl | ) |
Definition at line 184 of file USRFinder.cpp.
Referenced by getAllConstructorUSRs(), and clang::rename::NamedDeclFindingConsumer::HandleTranslationUnit().