/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/sksl/SkSLAnalysis.h" #include "src/sksl/analysis/SkSLProgramVisitor.h" #include "src/sksl/ir/SkSLIRNode.h" #include "src/sksl/ir/SkSLStatement.h" namespace SkSL { class Expression; namespace { class SwitchCaseContainsExit : public ProgramVisitor { … }; } // namespace bool Analysis::SwitchCaseContainsUnconditionalExit(const Statement& stmt) { … } bool Analysis::SwitchCaseContainsConditionalExit(const Statement& stmt) { … } } // namespace SkSL