Description[cleanup] Remove redundant fields from DeclarationDescriptor
Both the is_const and declaration_scope fields can be reliably derived
from the mode field. needs_init cannot be, unfortunately, due to the
special case of CONST in for loops.
Also inline the sole remaining non-trivial caller of
Parser::DeclarationScope(VariableMode).
Committed: https://crrev.com/bc7d63ccef37bb6511e9bc0075518b982b94ab05
Cr-Commit-Position: refs/heads/master@{#32536}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|