aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/llvm-remove-unsupported-compiler-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/llvm-remove-unsupported-compiler-warnings.patch')
-rw-r--r--community/chromium/llvm-remove-unsupported-compiler-warnings.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/community/chromium/llvm-remove-unsupported-compiler-warnings.patch b/community/chromium/llvm-remove-unsupported-compiler-warnings.patch
deleted file mode 100644
index 78cfa4a18c..0000000000
--- a/community/chromium/llvm-remove-unsupported-compiler-warnings.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Author: Olivier Tilloy <olivier.tilloy@canonical.com>
-Description: Do not use warning flags that require a newer Clang
-
-Index: dev/build/config/compiler/BUILD.gn
-===================================================================
---- build/config/compiler/BUILD.gn
-+++ build/config/compiler/BUILD.gn
-@@ -708,14 +708,6 @@
- ldflags += [ "-Wl,--no-rosegment" ]
- }
-
-- # This flag enforces that member pointer base types are complete. It helps
-- # prevent us from running into problems in the Microsoft C++ ABI (see
-- # https://crbug.com/847724).
-- if (is_clang && !is_nacl && target_os != "chromeos" && !use_xcode_clang &&
-- (is_win || use_custom_libcxx)) {
-- cflags += [ "-fcomplete-member-pointers" ]
-- }
--
- # Pass the same C/C++ flags to the objective C/C++ compiler.
- cflags_objc += cflags_c
- cflags_objcc += cflags_cc
-@@ -1516,26 +1508,6 @@
- if (current_toolchain == host_toolchain || !use_xcode_clang) {
- # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not
- # recognize.
-- cflags += [
-- # Ignore warnings about MSVC optimization pragmas.
-- # TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
-- "-Wno-ignored-pragma-optimize",
--
-- # TODO(https://crbug.com/989932): Evaluate and possibly enable.
-- "-Wno-implicit-int-float-conversion",
--
-- # TODO(https://crbug.com/999886): Clean up, enable.
-- "-Wno-final-dtor-non-final-class",
--
-- # TODO(https://crbug.com/1016947) Clean up, enable.
-- "-Wno-bitwise-conditional-parentheses",
--
-- # TODO(https://crbug.com/1016945) Clean up, enable.
-- "-Wno-builtin-assume-aligned-alignment",
--
-- # TODO(https://crbug.com/1028110): Evaluate and possible enable.
-- "-Wno-deprecated-copy",
-- ]
-
- if (is_fuchsia) {
- cflags += [