blob: d9057844330016280db4da79670542c18758c453 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <cplusplus/CPlusPlusForwardDeclarations.h>
#include <utils/fileutils.h>
#include <QBitArray>
#include <QHash>
#include <QString>
#include <QStringList>
#include <QVector>
QT_BEGIN_NAMESPACE
class QFutureInterfaceBase;
QT_END_NAMESPACE
namespace CPlusPlus {
class Snapshot;
class CPLUSPLUS_EXPORT DependencyTable
{
private:
friend class Snapshot;
void build(QFutureInterfaceBase &futureInterface, const Snapshot &snapshot);
Utils::FilePaths filesDependingOn(const Utils::FilePath &fileName) const;
QVector<Utils::FilePath> files;
QHash<Utils::FilePath, int> fileIndex;
QHash<int, QList<int> > includes;
QVector<QBitArray> includeMap;
};
} // namespace CPlusPlus
|