void-packages/srcpkgs/chromium/patches/llvm-remove-unsupported-com...

26 lines
793 B
Diff

--- build/config/compiler/BUILD.gn.orig 2020-08-24 17:40:22.000000000 -0400
+++ build/config/compiler/BUILD.gn 2020-08-30 13:37:51.834404370 -0400
@@ -1512,22 +1512,12 @@
# TODO(https://crbug.com/1028110): Evaluate and possible enable.
"-Wno-deprecated-copy",
-
- # TODO(https://crbug.com/1050281): Clean up, enable.
- "-Wno-non-c-typedef-for-linkage",
]
cflags_c += [
# TODO(https://crbug.com/995993): Clean up and enable.
"-Wno-implicit-fallthrough",
]
-
- if (enable_wmax_tokens) {
- cflags += [ "-Wmax-tokens" ]
- } else {
- # TODO(https://crbug.com/1049569): Remove after Clang 87b235db.
- cflags += [ "-Wno-max-tokens" ]
- }
}
}
}