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

Unified Diff: src/sksl/SkSLParser.h

Issue 2312233002: refactored SkSL VarDeclaration handling (Closed)
Patch Set: fixed nits Created 4 years, 3 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/SkSLIRGenerator.cpp ('k') | src/sksl/SkSLParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sksl/SkSLParser.h
diff --git a/src/sksl/SkSLParser.h b/src/sksl/SkSLParser.h
index 45629a370a61c27f77e035759506bd06092a6ecb..75f304bc8c5ccf7605b9967cb64318ceb3d1cc1c 100644
--- a/src/sksl/SkSLParser.h
+++ b/src/sksl/SkSLParser.h
@@ -40,7 +40,7 @@ struct ASTStatement;
struct ASTSuffix;
struct ASTType;
struct ASTWhileStatement;
-struct ASTVarDeclaration;
+struct ASTVarDeclarations;
class SymbolTable;
/**
@@ -106,15 +106,15 @@ private:
std::unique_ptr<ASTDeclaration> declaration();
- std::unique_ptr<ASTVarDeclaration> varDeclaration();
+ std::unique_ptr<ASTVarDeclarations> varDeclarations();
std::unique_ptr<ASTType> structDeclaration();
- std::unique_ptr<ASTVarDeclaration> structVarDeclaration(ASTModifiers modifiers);
+ std::unique_ptr<ASTVarDeclarations> structVarDeclaration(ASTModifiers modifiers);
- std::unique_ptr<ASTVarDeclaration> varDeclarationEnd(ASTModifiers modifiers,
- std::unique_ptr<ASTType> type,
- std::string name);
+ std::unique_ptr<ASTVarDeclarations> varDeclarationEnd(ASTModifiers modifiers,
+ std::unique_ptr<ASTType> type,
+ std::string name);
std::unique_ptr<ASTParameter> parameter();
« no previous file with comments | « src/sksl/SkSLIRGenerator.cpp ('k') | src/sksl/SkSLParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698