Merge "Move -Wno-null-dereference to external only" am: 98975c301e

am: 52e8b1e270

Change-Id: I39e74436a541b308c88cc09995a7887e5f3680a5
This commit is contained in:
Yi Kong
2019-01-13 17:53:37 -08:00
committed by android-build-merger

View File

@@ -136,10 +136,6 @@ func init() {
// codebase for it.
"-Wno-inconsistent-missing-override",
// Bug: http://b/29823425 Disable -Wnull-dereference until the
// new instances detected by this warning are fixed.
"-Wno-null-dereference",
// Enable clang's thread-safety annotations in libcxx.
// Turn off -Wthread-safety-negative, to avoid breaking projects that use -Weverything.
"-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS",
@@ -188,6 +184,10 @@ func init() {
// http://b/72331524 Allow null pointer arithmetic until the instances detected by
// this new warning are fixed.
"-Wno-null-pointer-arithmetic",
// Bug: http://b/29823425 Disable -Wnull-dereference until the
// new instances detected by this warning are fixed.
"-Wno-null-dereference",
}, " "))
}