Allows propagation of information from the DeclContext into child nodes.
The use case which motivated this patch is the verification of the compatibility between the declared return type and the actual return type in a pointer nullability analysis. For example, we should not be returning a nullable pointer in a function which has _Nonnull annotated return type.
To retrieve the declared return type, we need to keep track of the FuncDecl (which is a DeclCtx) of the function body being analysed.