Flutter Engine
The Flutter Engine
Namespaces | Functions
SkSLSwitchStatement.cpp File Reference
#include "src/sksl/ir/SkSLSwitchStatement.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkTArray.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkTHash.h"
#include "src/sksl/SkSLAnalysis.h"
#include "src/sksl/SkSLBuiltinTypes.h"
#include "src/sksl/SkSLConstantFolder.h"
#include "src/sksl/SkSLContext.h"
#include "src/sksl/SkSLErrorReporter.h"
#include "src/sksl/SkSLProgramSettings.h"
#include "src/sksl/ir/SkSLBlock.h"
#include "src/sksl/ir/SkSLBreakStatement.h"
#include "src/sksl/ir/SkSLNop.h"
#include "src/sksl/ir/SkSLSwitchCase.h"
#include "src/sksl/ir/SkSLSymbolTable.h"
#include "src/sksl/ir/SkSLType.h"
#include "src/sksl/transform/SkSLProgramWriter.h"
#include "src/sksl/transform/SkSLTransform.h"
#include <algorithm>
#include <iterator>

Go to the source code of this file.

Namespaces

namespace  SkSL
 

Functions

static TArray< const SwitchCase * > SkSL::find_duplicate_case_values (const StatementArray &cases)
 
static void SkSL::remove_break_statements (std::unique_ptr< Statement > &stmt)
 
static bool SkSL::block_for_case (Statement *caseBlock, SwitchCase *caseToCapture)