[flang] Warn about useless explicit typing of intrinsics
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. Differential Revision: https://reviews.llvm.org/D96879
Loading
Please register or sign in to comment