From dc82be74c578c982d1ca8dcbbdbf2fe24f00f94d Mon Sep 17 00:00:00 2001 From: Jiwen 'Steve' Cai Date: Thu, 8 Feb 2018 21:28:22 -0800 Subject: Move clang warnings override out of libgui These clang warnings overrides were introduced to mute warnings brought in from bufferhub and its dependencies. A better way to handle this is to mute those warnings in BufferHub headers and keep libgui free from those overrides. Bug: 72172820 Test: Build system Change-Id: I7d8aa233ceeef353a7db2c43431ae64360c668b1 --- libs/gui/BufferHubProducer.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libs/gui/BufferHubProducer.cpp') diff --git a/libs/gui/BufferHubProducer.cpp b/libs/gui/BufferHubProducer.cpp index c383f40355..70321caa96 100644 --- a/libs/gui/BufferHubProducer.cpp +++ b/libs/gui/BufferHubProducer.cpp @@ -14,21 +14,8 @@ * limitations under the License. */ -#if defined(__clang__) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Weverything" -#endif - -// The following headers are included without checking every warning. -// TODO(b/72172820): Remove the workaround once we have enforced -Weverything -// in these headers and their dependencies. #include #include - -#if defined(__clang__) -#pragma clang diagnostic pop -#endif - #include #include #include -- cgit v1.2.3-59-g8ed1b