Backed out changeset 0c253578b791 (bug 1447904) for TL failures /toolchain-win32-clang-tidy TW32. CLOSED TREE

This commit is contained in:
Narcis Beleuzu 2018-03-28 18:43:54 +03:00
Родитель 4570211dcc
Коммит f7d1771078
5 изменённых файлов: 4 добавлений и 37 удалений

Просмотреть файл

@ -1,23 +0,0 @@
Backport cxx14 default dialect flag from clang 6.0.0 trunk to 5.0.1
Index: lib/Frontend/CompilerInvocation.cpp
===================================================================
--- a/clang/tools/lib/Frontend/CompilerInvocation.cpp (revision 320871)
+++ b/clang/tools/lib/Frontend/CompilerInvocation.cpp (working copy)
@@ -1690,11 +1690,11 @@
break;
case InputKind::CXX:
case InputKind::ObjCXX:
- // The PS4 uses C++11 as the default C++ standard.
- if (T.isPS4())
- LangStd = LangStandard::lang_gnucxx11;
- else
- LangStd = LangStandard::lang_gnucxx98;
+#if defined(CLANG_DEFAULT_STD_CXX)
+ LangStd = CLANG_DEFAULT_STD_CXX;
+#else
+ LangStd = LangStandard::lang_gnucxx14;
+#endif
break;
case InputKind::RenderScript:
LangStd = LangStandard::lang_c99;

Просмотреть файл

@ -15,8 +15,5 @@
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
"cc": "/builds/worker/workspace/build/src/gcc/bin/gcc",
"cxx": "/builds/worker/workspace/build/src/gcc/bin/g++",
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc",
"patches": [
"clang-tidy-cxx14.patch"
]
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc"
}

Просмотреть файл

@ -23,7 +23,6 @@
"patches": [
"llvm-debug-frame-for-5.patch",
"compiler-rt-cross-compile.patch",
"compiler-rt-no-codesign.patch",
"clang-tidy-cxx14.patch"
"compiler-rt-no-codesign.patch"
]
}

Просмотреть файл

@ -12,8 +12,5 @@
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
"python_path": "c:/mozilla-build/python/python.exe",
"cc": "cl.exe",
"cxx": "cl.exe",
"patches": [
"clang-tidy-cxx14.patch"
]
"cxx": "cl.exe"
}

Просмотреть файл

@ -13,8 +13,5 @@
"python_path": "c:/mozilla-build/python/python.exe",
"cc": "cl.exe",
"cxx": "cl.exe",
"ml": "ml64.exe",
"patches": [
"clang-tidy-cxx14.patch"
]
"ml": "ml64.exe"
}