diff options
Diffstat (limited to 'src/sksl/disable_flex_warnings.h')
-rw-r--r-- | src/sksl/disable_flex_warnings.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/sksl/disable_flex_warnings.h b/src/sksl/disable_flex_warnings.h deleted file mode 100644 index ad73b63583..0000000000 --- a/src/sksl/disable_flex_warnings.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright 2017 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -// useless include to avoid "#if before #include" complaint from Skia presubmit -#include "SkSLUtil.h" -#ifdef __clang__ -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wunneeded-internal-declaration" -#pragma clang diagnostic ignored "-Wnull-conversion" -#pragma clang diagnostic ignored "-Wsign-compare" -#pragma clang diagnostic ignored "-Wunused-function" -#pragma clang diagnostic ignored "-Wdeprecated-register" -#endif -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wsign-compare" -#pragma GCC diagnostic ignored "-Wunused-function" -#endif -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable:4018) -#endif - -#define YY_NO_UNPUT |