summaryrefslogtreecommitdiff
path: root/src/libs/clangsupport/filepathcachingfwd.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2017-09-21 11:43:59 +0200
committerTim Jenssen <tim.jenssen@qt.io>2017-10-05 17:36:37 +0000
commitd2e15e5f1efa1ef160a2d4f40ab61180477d1f14 (patch)
treeb35eeec94b895a48e9c7ce6ea00c245935d1ea38 /src/libs/clangsupport/filepathcachingfwd.h
parent0be824000262882023b2b48b5eab0786f3db379b (diff)
downloadqt-creator-d2e15e5f1efa1ef160a2d4f40ab61180477d1f14.tar.gz
Clang: Add file cache
The database is using file path integer ids to handle file paths because otherwise we would save many redundant data. This patch is improving it further with the introduction of a database based file path cache. The entries are now divided in a directory path and file name. This is quite handy for directory based file watching. Change-Id: I03f2e388e43f3d521d6bf8e39dfb95eb2309dc73 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/libs/clangsupport/filepathcachingfwd.h')
-rw-r--r--src/libs/clangsupport/filepathcachingfwd.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/libs/clangsupport/filepathcachingfwd.h b/src/libs/clangsupport/filepathcachingfwd.h
new file mode 100644
index 0000000000..7519dde634
--- /dev/null
+++ b/src/libs/clangsupport/filepathcachingfwd.h
@@ -0,0 +1,32 @@
+/****************************************************************************
+**
+** Copyright (C) 2017 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+namespace ClangBackEnd {
+
+class FilePathCachingInterface;
+
+} // namespace ClangBackEnd