Flutter Engine
The Flutter Engine
Namespaces | Functions
SkSLEliminateEmptyStatements.cpp File Reference
#include "include/core/SkSpan.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/SkSLDefines.h"
#include "src/sksl/ir/SkSLBlock.h"
#include "src/sksl/ir/SkSLFunctionDefinition.h"
#include "src/sksl/ir/SkSLProgramElement.h"
#include "src/sksl/ir/SkSLStatement.h"
#include "src/sksl/transform/SkSLProgramWriter.h"
#include "src/sksl/transform/SkSLTransform.h"
#include <algorithm>
#include <iterator>
#include <memory>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  SkSL
 

Functions

static void SkSL::eliminate_empty_statements (SkSpan< std::unique_ptr< ProgramElement > > elements)