forked from qt-creator/qt-creator
Clang: Get file informations from symbols collector
We need the same information like file size and the last modification time to check if a file has changed. This information will be saved to the database. Change-Id: Icf8eb9b6553945a563887e11aff9539c9b300b66 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "fileinformation.h"
|
||||
#include "sourcelocationentry.h"
|
||||
#include "symbolentry.h"
|
||||
#include "usedmacro.h"
|
||||
@@ -69,9 +70,15 @@ public:
|
||||
return m_usedMacros;
|
||||
}
|
||||
|
||||
const FileInformations &fileInformations() const
|
||||
{
|
||||
return m_fileInformations;
|
||||
}
|
||||
|
||||
private:
|
||||
FilePathIds m_sourceFiles;
|
||||
UsedMacros m_usedMacros;
|
||||
FileInformations m_fileInformations;
|
||||
SymbolEntries &m_symbolEntries;
|
||||
SourceLocationEntries &m_sourceLocationEntries;
|
||||
FilePathCachingInterface &m_filePathCache;
|
||||
|
||||
Reference in New Issue
Block a user