Replace obsolete clang option

Clang has retired `-Wreturn-std-move-in-c++11`, which was a diagnostic
to help ensure backward compatibility with old versions of Clang.

Clang still has a similar-but-different `-Wreturn-std-move` that helps
find copies-on-return that can be changed to moves-on-return.

Bug: angleproject:5657
Change-Id: I4eaf9fb9eb8b4d7f9823025549e1267af2324f3f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2702754
Commit-Queue: Nico Weber <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
This commit is contained in:
Adrian McCarthy authored and Nico Weber committed 2021-02-18 03:20:00 +00:00
1 parent bd276beb9a
commit 462fb1ee7b
1 file changed
+1 -1
+1 -1
View File
@@ -184,7 +184,7 @@ config("extra_warnings") {
"-Wnewline-eof",
"-Wnon-virtual-dtor",
"-Wredundant-parens",
"-Wreturn-std-move-in-c++11",
"-Wreturn-std-move",
"-Wshadow-field",
"-Wtautological-type-limit-compare",
"-Wundefined-reinterpret-cast",