forked from qt-creator/qt-creator
Clang: Add symbol storage
Extend file path cache to 64 bit integer. Change-Id: I5627f13d59a3214f389087038482cbcc8d0eb484 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -51,7 +51,7 @@ namespace ClangBackEnd {
|
||||
class ClangQuery : public ClangTool
|
||||
{
|
||||
public:
|
||||
ClangQuery(StringCache<Utils::PathString, std::mutex> &filePathCache, Utils::SmallString &&query={});
|
||||
ClangQuery(FilePathCache<std::mutex> &filePathCache, Utils::SmallString &&query={});
|
||||
|
||||
void setQuery(Utils::SmallString &&query);
|
||||
|
||||
@@ -69,7 +69,7 @@ private:
|
||||
SourceRangesContainer sourceRangesContainer;
|
||||
Utils::SmallString query;
|
||||
std::vector<DynamicASTMatcherDiagnosticContainer> diagnosticContainers_;
|
||||
StringCache<Utils::PathString, std::mutex> &filePathCache;
|
||||
FilePathCache<std::mutex> &filePathCache;
|
||||
};
|
||||
|
||||
} // namespace ClangBackEnd
|
||||
|
||||
Reference in New Issue
Block a user