summaryrefslogtreecommitdiff
path: root/libs/gui/BufferHubProducer.cpp
diff options
context:
space:
mode:
author Jiwen 'Steve' Cai <jwcai@google.com> 2018-02-08 21:28:22 -0800
committer Jiwen 'Steve' Cai <jwcai@google.com> 2018-02-13 13:18:55 -0800
commitdc82be74c578c982d1ca8dcbbdbf2fe24f00f94d (patch)
tree779d95b576a40ad10ba5715435bcd262f11b1be1 /libs/gui/BufferHubProducer.cpp
parentc90a77f1e5b42d8fcf336d2b9bd2259280814df2 (diff)
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
Diffstat (limited to 'libs/gui/BufferHubProducer.cpp')
-rw-r--r--libs/gui/BufferHubProducer.cpp13
1 files changed, 0 insertions, 13 deletions
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 <dvr/dvr_api.h>
#include <gui/BufferHubProducer.h>
-
-#if defined(__clang__)
-#pragma clang diagnostic pop
-#endif
-
#include <inttypes.h>
#include <log/log.h>
#include <system/window.h>