forked from qt-creator/qt-creator
ClangRefactoring: Remove file status collection
It is not needed anymore. If we need it again we can reintroduce it. Change-Id: If8897ddb404daaf52b249ddd3763deb685c35fe5 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -43,14 +43,12 @@ class IndexDataConsumer : public clang::index::IndexDataConsumer,
|
||||
public:
|
||||
IndexDataConsumer(SymbolEntries &symbolEntries,
|
||||
SourceLocationEntries &sourceLocationEntries,
|
||||
FileStatuses &fileStatuses,
|
||||
FilePathCachingInterface &filePathCache,
|
||||
SourcesManager &symbolSourcesManager,
|
||||
SourcesManager ¯oSourcesManager)
|
||||
: SymbolsVisitorBase(filePathCache, nullptr, m_filePathIndices)
|
||||
, m_symbolEntries(symbolEntries)
|
||||
, m_sourceLocationEntries(sourceLocationEntries)
|
||||
, m_fileStatuses(fileStatuses)
|
||||
, m_symbolSourcesManager(symbolSourcesManager)
|
||||
, m_macroSourcesManager(macroSourcesManager)
|
||||
|
||||
@@ -59,8 +57,6 @@ public:
|
||||
IndexDataConsumer(const IndexDataConsumer &) = delete;
|
||||
IndexDataConsumer &operator=(const IndexDataConsumer &) = delete;
|
||||
|
||||
void setPreprocessor(std::shared_ptr<clang::Preprocessor> preprocessor) override;
|
||||
|
||||
bool handleDeclOccurence(const clang::Decl *declaration,
|
||||
clang::index::SymbolRoleSet symbolRoles,
|
||||
llvm::ArrayRef<clang::index::SymbolRelation> symbolRelations,
|
||||
@@ -82,7 +78,6 @@ private:
|
||||
FilePathIds m_filePathIndices;
|
||||
SymbolEntries &m_symbolEntries;
|
||||
SourceLocationEntries &m_sourceLocationEntries;
|
||||
FileStatuses &m_fileStatuses;
|
||||
SourcesManager &m_symbolSourcesManager;
|
||||
SourcesManager &m_macroSourcesManager;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user