From 751569192cb7efcf62d51dc571ed1cfdf6dc4cbd Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Fri, 6 Sep 2019 17:12:57 -0700 Subject: [PATCH] Remove '-Wno-return-std-move-in-c++11' flag This flag is no longer needed. Test: presubmit Change-Id: I9718ea1d448a6f598e6da61c3b30a0c9470d9c08 --- cc/config/clang.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cc/config/clang.go b/cc/config/clang.go index 1f169e4cf..3636ae9fc 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -171,9 +171,6 @@ func init() { // Disable c++98-specific warning since Android is not concerned with C++98 // compatibility. "-Wno-c++98-compat-extra-semi", - - // Disable this warning because we don't care about behavior with older compilers. - "-Wno-return-std-move-in-c++11", }, " ")) // Extra cflags for projects under external/ directory to disable warnings that are infeasible