Suppress -fcoroutines-ts deprecation warning

Starting from clang-r487747, clang emits the following warning:
  clang++: error: the '-fcoroutines-ts' flag is deprecated and it will be removed in Clang 17; use '-std=c++20' or higher to use standard C++ coroutines instead [-Werror,-Wdeprecated-experimental-coroutine]

Test: presubmit
Change-Id: Ib0082dee2e7d3f16dc8c23b757c90ede9f229cb4
This commit is contained in:
Yi Kong
2023-02-21 17:39:08 +09:00
parent 69c72cf1ae
commit 19461d9be8

View File

@@ -252,6 +252,7 @@ cc_binary {
"-fsized-deallocation",
"-fexceptions",
"-fcoroutines-ts",
"-Wno-deprecated-experimental-coroutine",
"-Wno-format-zero-length",
"-Wno-implicit-fallthrough",
"-Wno-non-virtual-dtor",