diff options
Diffstat (limited to 'tests/unit/unittest/symbolscollector-test.cpp')
-rw-r--r-- | tests/unit/unittest/symbolscollector-test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/unittest/symbolscollector-test.cpp b/tests/unit/unittest/symbolscollector-test.cpp index 15e15ba5f1..4543c61e44 100644 --- a/tests/unit/unittest/symbolscollector-test.cpp +++ b/tests/unit/unittest/symbolscollector-test.cpp @@ -42,6 +42,7 @@ using testing::_; using ClangBackEnd::SourceLocationEntry; using ClangBackEnd::SymbolEntry; using ClangBackEnd::SymbolType; +using ClangBackEnd::SymbolIndex; namespace { @@ -53,7 +54,7 @@ protected: return filePathCache.stringId(string); } - uint symbolIdForSymbolName(const Utils::SmallString &symbolName); + SymbolIndex symbolIdForSymbolName(const Utils::SmallString &symbolName); protected: ClangBackEnd::FilePathCache<> filePathCache; @@ -149,7 +150,7 @@ TEST_F(SymbolsCollector, ReferencedSymboldMatchesLocation) Field(&SourceLocationEntry::column, 5)))); } -uint SymbolsCollector::symbolIdForSymbolName(const Utils::SmallString &symbolName) +SymbolIndex SymbolsCollector::symbolIdForSymbolName(const Utils::SmallString &symbolName) { for (const auto &entry : collector.symbols()) { if (entry.second.symbolName == symbolName) |