#include "include/core/SkSpan.h"
#include "src/sksl/SkSLDefines.h"
#include "src/sksl/SkSLModule.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>
namespace SkSL {
class Expression;
static void eliminate_empty_statements(SkSpan<std::unique_ptr<ProgramElement>> elements) { … }
void Transform::EliminateEmptyStatements(Module& module) { … }
}