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/Basic/LLVM.h"
19 #include "llvm/ADT/ArrayRef.h"
26 class CompilerInstance;
33 ArrayRef<std::string> QualifiedNames)
34 : SymbolOffsets(SymbolOffsets), QualifiedNames(QualifiedNames),
35 ErrorOccurred(false) {}
39 ArrayRef<std::vector<std::string>>
getUSRList() {
return USRList; }
43 std::vector<unsigned> SymbolOffsets;
44 std::vector<std::string> QualifiedNames;
45 std::vector<std::string> SpellingNames;
46 std::vector<std::vector<std::string>> USRList;
53 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_RENAME_USR_FINDING_ACTION_H
ArrayRef< std::vector< std::string > > getUSRList()
std::unique_ptr< ASTConsumer > newASTConsumer()
ArrayRef< std::string > getUSRSpellings()
USRFindingAction(ArrayRef< unsigned > SymbolOffsets, ArrayRef< std::string > QualifiedNames)