Merge remote-tracking branch 'origin/4.2'

Conflicts:
	src/plugins/clangrefactoring/refactoringengine.cpp
	src/tools/clangrefactoringbackend/source/symbolfinder.cpp

Change-Id: I7c1c87f3b8ade43a07f6668565501042e967fa8b
This commit is contained in:
Eike Ziller
2016-11-16 16:04:59 +01:00
72 changed files with 693 additions and 544 deletions

View File

@@ -35,7 +35,7 @@ namespace ClangBackEnd {
using USRName = llvm::SmallVector<char, 128>;
// use std::filesystem::path if it is supported by all compilers
#ifdef WIN32
#ifdef _WIN32
const char nativeSeperator = '\\';
#else
const char nativeSeperator = '/';

View File

@@ -33,7 +33,7 @@ namespace {
std::string toNativePath(std::string &&path)
{
#ifdef WIN32
#ifdef _WIN32
std::replace(path.begin(), path.end(), '/', '\\');
#endif

View File

@@ -61,7 +61,7 @@ Utils::SmallString fromNativePath(Container container)
{
Utils::SmallString path(container.data(), container.size());
#ifdef WIN32
#ifdef _WIN32
std::replace(path.begin(), path.end(), '\\', '/');
#endif