diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-11-17 11:56:02 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2016-11-17 15:35:22 +0000 |
commit | da54b1e6a9d551c099ccf171ad1a03ea598ac99f (patch) | |
tree | e8e46a05eca94d55f6a6b88a788ed3c0c84bbd58 /tests/unit/mockup | |
parent | 572ba812d2347c9289d8b9549a9265a311a3c251 (diff) |
Clang: Tests: Fix compilation
refactoringclient-test.cpp:126:76: error: no matching function for call to
'ClangRefactoring::RefactoringCompilerOptionsBuilder::build(CppTools::ProjectPart*,
CppTools::ProjectFile::Kind&)'
Broke with:
commit 36d4d01cd374a21a8b7c229b261c5f1a23d1184e
Clang: Take precompiled headers into account when parsing source files
Change-Id: I7c5a2edec0859584ea2b33e144178060788cd4d9
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'tests/unit/mockup')
-rw-r--r-- | tests/unit/mockup/cpptools/cpptoolsreuse.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/unit/mockup/cpptools/cpptoolsreuse.h b/tests/unit/mockup/cpptools/cpptoolsreuse.h new file mode 100644 index 0000000000..fec5388641 --- /dev/null +++ b/tests/unit/mockup/cpptools/cpptoolsreuse.h @@ -0,0 +1,32 @@ +/**************************************************************************** +** +** Copyright (C) 2016 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 CppTools { + +CompilerOptionsBuilder::PchUsage getPchUsage() { return CompilerOptionsBuilder::PchUsage::None; } + +} // CppTools |