Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: src/sksl/ir/SkSLVarDeclarationStatement.h

Issue 2405383003: added basic dataflow analysis to skslc (Closed)
Patch Set: I have no idea what I was thinking Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/sksl/ir/SkSLVarDeclaration.h ('k') | src/sksl/ir/SkSLVarDeclarations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sksl/ir/SkSLVarDeclarationStatement.h
diff --git a/src/sksl/ir/SkSLVarDeclarationStatement.h b/src/sksl/ir/SkSLVarDeclarationStatement.h
deleted file mode 100644
index 59d37ab9158945b78cd7ffda6b065224e286eb9e..0000000000000000000000000000000000000000
--- a/src/sksl/ir/SkSLVarDeclarationStatement.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2016 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SKSL_VARDECLARATIONSTATEMENT
-#define SKSL_VARDECLARATIONSTATEMENT
-
-#include "SkSLStatement.h"
-#include "SkSLVarDeclaration.h"
-
-namespace SkSL {
-
-/**
- * One or more variable declarations appearing as a statement within a function.
- */
-struct VarDeclarationsStatement : public Statement {
- VarDeclarationsStatement(std::unique_ptr<VarDeclarations> decl)
- : INHERITED(decl->fPosition, kVarDeclarations_Kind)
- , fDeclaration(std::move(decl)) {}
-
- std::string description() const override {
- return fDeclaration->description();
- }
-
- const std::shared_ptr<VarDeclarations> fDeclaration;
-
- typedef Statement INHERITED;
-};
-
-} // namespace
-
-#endif
« no previous file with comments | « src/sksl/ir/SkSLVarDeclaration.h ('k') | src/sksl/ir/SkSLVarDeclarations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698