commit | 98eae1ec2ee65161d9b7ad803788d6f6d6b60f99 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Wed Sep 01 14:37:29 2021 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Sep 01 19:33:19 2021 +0000 |
tree | dd3a31be6af3cde4cd3676dd6d3d32b94405c655 | |
parent | facffbe0936d8d0374adf8005d821b263dc6effb [diff] |
Moved DetectVarDeclarationWithoutScope out of IRGenerator As these checks were in the AST processing side of things, they were not catching errors in DSL code. SkSLAnalysis is also a better home for this function than SkSLIRGenerator. Change-Id: I8149825047570300cc09425deba1339ac0edb7ab Reviewed-on: https://skia-review.googlesource.com/c/skia/+/444656 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: John Stiles <johnstiles@google.com>