More work to fix AppVeyor

This commit is contained in:
Jacob Dufault 2018-01-03 18:32:15 -08:00
parent f5f3887dd3
commit 31c7fddf3d
3 changed files with 3 additions and 14 deletions

View File

@ -135,15 +135,7 @@ std::vector<std::string> GetPlatformClangArguments() {
// clang-format off
return {
"-isystem","C:/Program Files/Microsoft Visual Studio 10.0/VC/include",
"-isystem","C:/Program Files/Microsoft Visual Studio 9.0/VC/include",
"-isystem","C:/Program Files/Microsoft Visual Studio 9.0/VC/PlatformSDK/Include",
"-isystem","C:/Program Files/Microsoft Visual Studio 8/VC/include",
"-isystem","C:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include",
"-isystem","C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include",
"-isystem","C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
"-isystem","C:/Program Files/LLVM/lib/clang/5.0.1/include",
"-fms-extensions", "-fms-compatibility", "-fms-compatibility-version=18", "-fdelayed-template-parsing"
"-fms-extensions", "-fms-compatibility", "-fdelayed-template-parsing"
};
// clang-format on
}

View File

@ -196,6 +196,7 @@ void RunIndexTests(const std::string& filter_path) {
// Get output from index operation.
IndexFile* db = FindDbForPathEnding(expected_path, dbs);
assert(db);
if (!db->diagnostics_.empty()) {
std::cout << "For " << path << std::endl;
for (const lsDiagnostic& diagnostic : db->diagnostics_) {

View File

@ -508,11 +508,7 @@ std::string GetDefaultResourceDirectory() {
result = resource_directory;
}
result = NormalizePath(result);
#if defined(_WIN32)
std::replace(result.begin(), result.end(), '/', '\\');
#endif
return result;
return NormalizePath(result);
}
std::string UpdateToRnNewlines(std::string output) {