Fortran 2018 explicitly permits an ignored type declaration
for the result of a generic intrinsic function. See the comment
added to Semantics/expression.cpp for an explanation of why this
is somewhat dangerous and worthy of a warning.
Depended on https://reviews.llvm.org/D96878
Where is AcquireIntrinsicProcedureFlags defined?