CppLocatorFilter: Add cppCurrentDocumentMatcher()

Add also a test for it.

Change-Id: I324b1a2cbe89c0a1258dde93524689cb85e06737
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2023-04-11 16:03:41 +02:00
parent 0b5db8e558
commit 64f946445c
6 changed files with 178 additions and 6 deletions

View File

@@ -148,7 +148,8 @@ class LocatorMatcherPrivate;
enum class MatcherType {
AllSymbols,
Classes,
Functions
Functions,
CurrentDocumentSymbols
};
class CORE_EXPORT LocatorMatcher final : public QObject