ΒΆclang::tooling::SymbolOccurrences
getOccurrencesOfUSRs(ArrayRef<std::string> USRs,
                     llvm::StringRef PrevName,
                     clang::Decl* Decl)

Description

Finds the symbol occurrences for the symbol that's identified by the given USR set.

Declared at: clang/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h:46

Parameters

ArrayRef<std::string> USRs
llvm::StringRef PrevName
clang::Decl* Decl

Returns

SymbolOccurrences that can be converted to AtomicChanges when renaming.