// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 #pragma once #include "cppindexingsupport.h" #include "cppmodelmanager.h" #include namespace CppEditor::Internal { class BuiltinIndexingSupport: public CppIndexingSupport { public: BuiltinIndexingSupport(); ~BuiltinIndexingSupport() override; QFuture refreshSourceFiles(const QSet &sourceFiles, CppModelManager::ProgressNotificationMode mode) override; SymbolSearcher *createSymbolSearcher(const SymbolSearcher::Parameters ¶meters, const QSet &fileNames) override; public: static bool isFindErrorsIndexingActive(); private: Utils::FutureSynchronizer m_synchronizer; }; } // namespace CppEditor::Internal