From 2780fc7288f81394a0ef34e987cdcf9c6f6a3f1a Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Thu, 12 Sep 2024 10:12:45 +0200 Subject: [PATCH] Add kill switch for unsupported clangd flags: updated for v129 --- .../patches/Add-kill-switch-for-unsupported-clangd-flags.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/patches/Add-kill-switch-for-unsupported-clangd-flags.patch b/build/patches/Add-kill-switch-for-unsupported-clangd-flags.patch index a1c42576..682b7b9e 100644 --- a/build/patches/Add-kill-switch-for-unsupported-clangd-flags.patch +++ b/build/patches/Add-kill-switch-for-unsupported-clangd-flags.patch @@ -28,12 +28,12 @@ diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn } + if (skip_clangd_unsupported_options) { + cflags -= [ -+ "-Wno-deprecated-builtins", + "-Wno-thread-safety-reference-return", + ] + cflags_cc -= [ + "-Wno-c++11-narrowing-const-reference", + "-Wno-missing-template-arg-list-after-template-kw", ++ "-Wno-dangling-assignment-gsl", + ] + } }