logic: record and display include edges for non-indexed files

* non-indexed files are shown in graph view and in code view
* non-indexed files are ignored in search view, overview, stats and refresh dialog
This commit is contained in:
mlangkabel
2018-04-23 12:13:49 +02:00
parent 17ec0747f2
commit f08f27717f
102 changed files with 10096 additions and 218 deletions
+3 -3
View File
@@ -113,7 +113,7 @@ public:
localSymbols.push_back(addLocationSuffix(name, location));
}
virtual void recordFile(const FileInfo& fileInfo) override
virtual void recordFile(const FileInfo& fileInfo, bool indexed) override
{
files.insert(fileInfo.path.wstr());
}
@@ -163,9 +163,9 @@ public:
private:
virtual void doRecordError(
const ParseLocation& location,
const ParseLocation& location,
const std::wstring& message,
bool fatal,
bool fatal,
bool indexed) override
{
errors.push_back(addLocationSuffix(message, location));