aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2020-10-30 13:30:42 -0700
committerpeter klausler <pklausler@nvidia.com>2020-10-30 16:42:12 -0700
commitc1168676a0c211641cbd5945eb46702fc50e56de (patch)
tree9fa6bd9add3a9ea38e666c9fc744cf62a8783566 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent0a512a555a8dbcd00eeaff5aaa14842f8614c2b4 (diff)
downloadllvm-c1168676a0c211641cbd5945eb46702fc50e56de.zip
llvm-c1168676a0c211641cbd5945eb46702fc50e56de.tar.gz
llvm-c1168676a0c211641cbd5945eb46702fc50e56de.tar.bz2
[flang] Add warning for FINAL pitfall
Fortran's FINAL feature is sensitive to object rank. When an object's rank excludes it from finalization, but the type has FINAL subroutines for other ranks, emit a warning. This should be especially helpful in the case of a scalar FINAL subroutine not being declared (IMPURE) ELEMENTAL. Differential revision: https://reviews.llvm.org/D90495
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions