15 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_RENAME_USR_FINDING_ACTION_H_
16 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_RENAME_USR_FINDING_ACTION_H_
18 #include "clang/Frontend/FrontendAction.h"
22 class CompilerInstance;
29 : SymbolOffset(Offset), OldName(Name) {}
35 const std::vector<std::string> &
getUSRs() {
return USRs; }
38 unsigned SymbolOffset;
40 std::string SpellingName;
41 std::vector<std::string> USRs;
47 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_RENAME_USR_FINDING_ACTION_H_
const std::vector< std::string > & getUSRs()
const std::string & getUSRSpelling()
std::unique_ptr< ASTConsumer > newASTConsumer()
USRFindingAction(unsigned Offset, const std::string &Name)