diff options
author | Marco Bubke <marco.bubke@qt.io> | 2018-04-05 10:58:33 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2018-04-12 13:12:08 +0000 |
commit | ee85cf4518ef67f25adcbdaf62d54cc93e614648 (patch) | |
tree | fb5134eaec1c77d096894c79b06be3f2b0d40ebf /src/plugins | |
parent | b0fd6c30ce7c6d08289310c6f55352d12e4daaf8 (diff) |
Clang: Store the symbol kind in the database
It is cleaning up some other stuff too.
Change-Id: I75274356fd35f2ee8c84aedf8839c67506ab2355
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/clangpchmanager/pchmanagerconnectionclient.cpp | 7 | ||||
-rw-r--r-- | src/plugins/clangrefactoring/clangrefactoring.pro | 3 | ||||
-rw-r--r-- | src/plugins/clangrefactoring/symbolquery.cpp | 30 |
3 files changed, 7 insertions, 33 deletions
diff --git a/src/plugins/clangpchmanager/pchmanagerconnectionclient.cpp b/src/plugins/clangpchmanager/pchmanagerconnectionclient.cpp index 8528583201..812445610e 100644 --- a/src/plugins/clangpchmanager/pchmanagerconnectionclient.cpp +++ b/src/plugins/clangpchmanager/pchmanagerconnectionclient.cpp @@ -50,8 +50,13 @@ ClangPchManager::PchManagerConnectionClient::PchManagerConnectionClient( m_serverProxy(client, ioDevice()) { m_processCreator.setTemporaryDirectoryPattern("clangpchmanagerbackend-XXXXXX"); + + QDir pchsDirectory(Core::ICore::userResourcePath()); + pchsDirectory.mkdir("pchs"); + pchsDirectory.cd("pchs"); m_processCreator.setArguments({connectionName(), - Core::ICore::userResourcePath() + "/symbol-experimental-v1.db"}); + Core::ICore::userResourcePath() + "/symbol-experimental-v1.db", + pchsDirectory.absolutePath()}); stdErrPrefixer().setPrefix("PchManagerConnectionClient.stderr: "); stdOutPrefixer().setPrefix("PchManagerConnectionClient.stdout: "); diff --git a/src/plugins/clangrefactoring/clangrefactoring.pro b/src/plugins/clangrefactoring/clangrefactoring.pro index d72450fcb4..cad6bac979 100644 --- a/src/plugins/clangrefactoring/clangrefactoring.pro +++ b/src/plugins/clangrefactoring/clangrefactoring.pro @@ -41,8 +41,7 @@ SOURCES += \ qtcreatorsearch.cpp \ qtcreatorsearchhandle.cpp \ qtcreatorsymbolsfindfilter.cpp \ - symbolsfindfilterconfigwidget.cpp \ - symbolquery.cpp + symbolsfindfilterconfigwidget.cpp FORMS += \ clangqueryprojectsfindfilter.ui diff --git a/src/plugins/clangrefactoring/symbolquery.cpp b/src/plugins/clangrefactoring/symbolquery.cpp deleted file mode 100644 index a5f946266f..0000000000 --- a/src/plugins/clangrefactoring/symbolquery.cpp +++ /dev/null @@ -1,30 +0,0 @@ -/**************************************************************************** -** -** 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. -** -****************************************************************************/ - -#include "symbolquery.h" - -namespace ClangRefactoring { - -} // namespace ClangRefactoring |