This supposes to be a non-functional change. We have two code paths when
traversing lambda expressions:
- traverse the function proto typeloc when parameters and return type
are explicit;
- otherwise fallback to traverse parameter decls and return type loc
individually;
This patch unifies the code path to always traverse parameters and
return type, rather than relying on traversing the full type-loc.
Could we add a comment on why we can't simply call the TraverseTypeLoc here?
Something like: