Description[ast][parsing] Variable declaration cleanups.
- Remove Declaration::initialization(), move logic into parser.
The backends should only care about the actual initialization flag on the
variable.
- Introduce DeclareVariable convenience function that covers most cases of
variable declarations.
R=adamk@chromium.org
BUG=
Committed: https://crrev.com/54ff89b2e6bd6fc4421fd52c63c5e427103f7611
Cr-Commit-Position: refs/heads/master@{#38477}
Patch Set 1 #Patch Set 2 : Remove weird comment. #Patch Set 3 : Use DefaultInitializationFlag in more places. #
Total comments: 5
Patch Set 4 : Rebase and make DefaultInitializationFlag static. #
Messages
Total messages: 17 (9 generated)
|