aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ASTMerge.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-10-12 12:59:48 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-10-31 10:41:27 -0700
commitb22873b18cd81529623566fd13ef90cdb48c6ee7 (patch)
tree9d1e213da81888f46bd07f052851d957d1c7a211 /clang/lib/Frontend/ASTMerge.cpp
parentf94c2679cb1db92ce4103487bf0247eca6e4d722 (diff)
downloadllvm-b22873b18cd81529623566fd13ef90cdb48c6ee7.zip
llvm-b22873b18cd81529623566fd13ef90cdb48c6ee7.tar.gz
llvm-b22873b18cd81529623566fd13ef90cdb48c6ee7.tar.bz2
[flang] Always diagnose incompatible function results when associating function pointers
There are some exceptional cases where the compiler permits association of procedure pointers or dummy arguments with slightly incompatible procedure targets, but they should not override any incompatibilty of function result types. (Includes a second fix to resolve the original motivating test failure, in which a COMPLEX intrinsic function was getting its result kind divided by two due to an implicit C++ conversion of the kind to a "*kind" parse tree node, and those legacy "COMPLEX*size" type designators' values are twice the type kind value.) Differential Revision: https://reviews.llvm.org/D136964
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions