forked from qt-creator/qt-creator
Clang: Filter duplicates in clang query output
Because we can visit headers many times, we get results many times too. Change-Id: I3bbe7d7a5d01c2580a4569bfe115f14a69edc8a7 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sourcerangefilter.h"
|
||||
|
||||
#include <sourcerangesanddiagnosticsforquerymessage.h>
|
||||
#include <filecontainerv2.h>
|
||||
#include <stringcache.h>
|
||||
@@ -68,6 +70,7 @@ protected:
|
||||
|
||||
private:
|
||||
StringCache<Utils::PathString, std::mutex> *m_filePathCache = nullptr;
|
||||
SourceRangeFilter m_sourceRangeFilter;
|
||||
std::vector<V2::FileContainer> m_sources;
|
||||
std::vector<V2::FileContainer> m_unsaved;
|
||||
Utils::SmallString m_query;
|
||||
|
||||
Reference in New Issue
Block a user