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

Classes

class  RenamingASTConsumer
 
class  RenamingAction
 
struct  NamedDeclFindingConsumer
 
struct  USRFindingAction
 

Functions

const NamedDecl * getNamedDeclAt (const ASTContext &Context, const SourceLocation Point)
 
std::string getUSRForDecl (const Decl *Decl)
 
static std::vector< std::string > getAllConstructorUSRs (const CXXRecordDecl *Decl)
 
std::vector< SourceLocation > getLocationsOfUSR (const std::string USR, Decl *Decl)
 

Function Documentation

static std::vector<std::string> clang::rename::getAllConstructorUSRs ( const CXXRecordDecl *  Decl)
static
std::vector< SourceLocation > clang::rename::getLocationsOfUSR ( const std::string  USR,
Decl *  Decl 
)
const NamedDecl * clang::rename::getNamedDeclAt ( const ASTContext &  Context,
const SourceLocation  Point 
)

Definition at line 127 of file USRFinder.cpp.

References Result, and SourceMgr.

Referenced by clang::rename::NamedDeclFindingConsumer::HandleTranslationUnit().

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