• neis's avatar
    [ast][parsing] Variable declaration cleanups. · 54ff89b2
    neis authored
    - 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=
    
    Review-Url: https://codereview.chromium.org/2223843002
    Cr-Commit-Position: refs/heads/master@{#38477}
    54ff89b2
parser.h 52.9 KB