aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/builtincursorinfo.h
blob: 7ab398c5a15c87fe0d31e300b25524b4ebb5a42b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 2017 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 "cppcursorinfo.h"
#include "cppeditor_global.h"

#include <cplusplus/CppDocument.h>

#include <QFuture>

namespace CppEditor {

class CPPEDITOR_EXPORT BuiltinCursorInfo
{
public:
    static QFuture<CursorInfo> run(const CursorInfoParams &params);

    static SemanticInfo::LocalUseMap
    findLocalUses(const CPlusPlus::Document::Ptr &document, int line, int column);
};

} // namespace CppEditor