Create global-variable accessor for the inner var-declaration.
This simplifies a common pattern of fetching the inner statement and
immediately calling `as<VarDeclaration>` (since this is all that the
inner statement will ever contain).
Change-Id: I706a9dc68afa28751dcbe8c0f13783fc929bde50
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/592378
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
11 files changed