swift
80e0bfce - [AddressLowering] ParamDecl's context falls back.

Commit
3 years ago
[AddressLowering] ParamDecl's context falls back. When address lowering rewrites a return to use an indirect convention, it creates a ParamDecl, using the function's decl context. Some functions, such as default argument getters, don't have such contexts, though. In such cases, fall back to module as decl context.
Author
Committer
Parents
Loading