Descriptiongn: Fix stale references in Parser::AssignComments().
ParseNode::GetRange() returns a LocationRange (value, not reference),
while LocationRange::begin() returns a const Location&. Initializing a
local const Location& variable with that doesn't extend the lifetime of
the temporary.
Committed: https://crrev.com/d177088c55ef63ab7f28c34bdd124faf01adb389
Cr-Commit-Position: refs/heads/master@{#436637}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|