Description[parser] Add default constructor for PreParserExpression
In a few places in the parser base, we were forced to initialize
variables of type ExpressionT even if it's not necessary, as they
are assigned to later on before their use. This was required
because, for the case of the preparser, ExpressionT is
PreParserExpression which had no default constructor.
This patch adds a default constructor, equivalent to EmptyExpression
for this class, and gets rid of the unnecessary initializations.
R=adamk@chromium.org, littledan@chromium.org
BUG=
LOG=N
Committed: https://crrev.com/6ce36869bca9a60acc77c447f7e340c3f9d1f8f2
Cr-Commit-Position: refs/heads/master@{#37884}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|