summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/include-fixer/InMemorySymbolIndex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/include-fixer/InMemorySymbolIndex.cpp')
-rw-r--r--clang-tools-extra/include-fixer/InMemorySymbolIndex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang-tools-extra/include-fixer/InMemorySymbolIndex.cpp b/clang-tools-extra/include-fixer/InMemorySymbolIndex.cpp
index 7f851741c2e..14753bd9aa2 100644
--- a/clang-tools-extra/include-fixer/InMemorySymbolIndex.cpp
+++ b/clang-tools-extra/include-fixer/InMemorySymbolIndex.cpp
@@ -9,18 +9,18 @@
#include "InMemorySymbolIndex.h"
-using clang::find_all_symbols::SymbolInfo;
+using clang::find_all_symbols::SymbolAndSignals;
namespace clang {
namespace include_fixer {
InMemorySymbolIndex::InMemorySymbolIndex(
- const std::vector<SymbolInfo> &Symbols) {
+ const std::vector<SymbolAndSignals> &Symbols) {
for (const auto &Symbol : Symbols)
- LookupTable[Symbol.getName()].push_back(Symbol);
+ LookupTable[Symbol.Symbol.getName()].push_back(Symbol);
}
-std::vector<SymbolInfo>
+std::vector<SymbolAndSignals>
InMemorySymbolIndex::search(llvm::StringRef Identifier) {
auto I = LookupTable.find(Identifier);
if (I != LookupTable.end())
OpenPOWER on IntegriCloud