forked from qt-creator/qt-creator
		
	Clang: Silence warnings
Change-Id: I63f8a85f0a352fc8f41835bd3ab1574255d4436b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
		@@ -27,6 +27,7 @@
 | 
			
		||||
#include "mockrefactoringclientcallback.h"
 | 
			
		||||
#include "mocksearchhandle.h"
 | 
			
		||||
 | 
			
		||||
#include <clangqueryprojectsfindfilter.h>
 | 
			
		||||
#include <refactoringclient.h>
 | 
			
		||||
#include <refactoringengine.h>
 | 
			
		||||
#include <refactoringconnectionclient.h>
 | 
			
		||||
@@ -247,17 +248,14 @@ TEST_F(RefactoringClient, XXX)
 | 
			
		||||
 | 
			
		||||
void RefactoringClient::SetUp()
 | 
			
		||||
{
 | 
			
		||||
    using Filter = ClangRefactoring::ClangQueryProjectsFindFilter;
 | 
			
		||||
 | 
			
		||||
    client.setRefactoringEngine(&engine);
 | 
			
		||||
 | 
			
		||||
    projectPart = CppTools::ProjectPart::Ptr(new CppTools::ProjectPart);
 | 
			
		||||
    projectPart->files.push_back(projectFile);
 | 
			
		||||
 | 
			
		||||
    commandLine = Utils::SmallStringVector{ClangCompilerOptionsBuilder::build(
 | 
			
		||||
                projectPart.data(),
 | 
			
		||||
                projectFile.kind,
 | 
			
		||||
                ClangCompilerOptionsBuilder::PchUsage::None,
 | 
			
		||||
                CLANG_VERSION,
 | 
			
		||||
                CLANG_RESOURCE_DIR)};
 | 
			
		||||
    commandLine = Filter::compilerArguments(projectPart.data(), projectFile.kind);
 | 
			
		||||
 | 
			
		||||
    client.setSearchHandle(&mockSearchHandle);
 | 
			
		||||
    client.setExpectedResultCount(1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user