Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec450d91 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Prepare to build clang-r468909

* Allow/show clang deprecated* and array-parameter warnings
  to pass build.py with r468909.

Test: presubmit
Bug: 241941550
Bug: 241601211
Change-Id: I46bc1138861371ece24e88fad2d64fdf38ca605d
parent 263efde0
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -290,7 +290,12 @@ var (
		"-Wno-deprecated-non-prototype",
	}

	llvmNextExtraCommonGlobalCflags = []string{}
	llvmNextExtraCommonGlobalCflags = []string{
		// New warnings to be fixed after clang-r468909
		"-Wno-error=array-parameter",     // http://b/241941550
		"-Wno-error=deprecated-builtins", // http://b/241601211
		"-Wno-error=deprecated",          // in external/googletest/googletest
	}

	IllegalFlags = []string{
		"-w",