[fir][NFC] rename canBePointerOrHeapElementType to cannotBePointerOrHeapElementType
authorValentin Clement <clementval@gmail.com>
Thu, 23 Sep 2021 16:49:10 +0000 (18:49 +0200)
committerValentin Clement <clementval@gmail.com>
Thu, 23 Sep 2021 16:49:41 +0000 (18:49 +0200)
commitbbc74a11bc15f4ce962ac7f915309145dcfc2582
tree80d26ada2f515a99796dfc24c409b4ec1f311c1e
parent1e3c6fc7cb9d2ee6a5328881f95d6643afeadbff
[fir][NFC] rename canBePointerOrHeapElementType to cannotBePointerOrHeapElementType

This patch is part of the upstreaming effort from fir-dev branch.
Rename the function so the name conveys better what it does.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D110323

Co-authored-by: schweitz
Co-authored-by: jeanPerier
flang/lib/Optimizer/Dialect/FIRType.cpp