1 /* 2 * Copyright 2017 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 // useless include to avoid "#if before #include" complaint from Skia presubmit 9 #include "SkSLUtil.h" 10 #ifdef __clang__ 11 #pragma clang diagnostic push 12 #pragma clang diagnostic ignored "-Wunneeded-internal-declaration" 13 #pragma clang diagnostic ignored "-Wnull-conversion" 14 #pragma clang diagnostic ignored "-Wsign-compare" 15 #pragma clang diagnostic ignored "-Wunused-function" 16 #pragma clang diagnostic ignored "-Wdeprecated-register" 17 #endif 18 #ifdef __GNUC__ 19 #pragma GCC diagnostic push 20 #pragma GCC diagnostic ignored "-Wsign-compare" 21 #pragma GCC diagnostic ignored "-Wunused-function" 22 #endif 23 #ifdef _MSC_VER 24 #pragma warning(push) 25 #pragma warning(disable:4018) 26 #endif 27 28 #define YY_NO_UNPUT 29