From da54b1e6a9d551c099ccf171ad1a03ea598ac99f Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Thu, 17 Nov 2016 11:56:02 +0100 Subject: 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 --- tests/unit/unittest/refactoringengine-test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit/unittest/refactoringengine-test.cpp') diff --git a/tests/unit/unittest/refactoringengine-test.cpp b/tests/unit/unittest/refactoringengine-test.cpp index e295ac34f1..6efbebfb41 100644 --- a/tests/unit/unittest/refactoringengine-test.cpp +++ b/tests/unit/unittest/refactoringengine-test.cpp @@ -108,7 +108,8 @@ void RefactoringEngine::SetUp() projectPart->files.push_back(projectFile); commandLine = RefactoringCompilerOptionsBuilder::build(projectPart.data(), - projectFile.kind); + projectFile.kind, + RefactoringCompilerOptionsBuilder::PchUsage::None); commandLine.push_back(qStringFilePath); } -- cgit v1.2.1