aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorPeter Klausler <35819229+klausler@users.noreply.github.com>2024-03-26 10:11:19 -0700
committerGitHub <noreply@github.com>2024-03-26 10:11:19 -0700
commitf4fc959c35eb862776ac2e83cb9f41aa88989e3f (patch)
tree47c158e6fb6567cf6d9f003c5b91f49c8b26c782 /clang/lib/CodeGen/CodeGenFunction.cpp
parentf050a098b5e0745b6c230410f433e48dcc46d160 (diff)
downloadllvm-f4fc959c35eb862776ac2e83cb9f41aa88989e3f.zip
llvm-f4fc959c35eb862776ac2e83cb9f41aa88989e3f.tar.gz
llvm-f4fc959c35eb862776ac2e83cb9f41aa88989e3f.tar.bz2
[flang] Catch impossible but necessary TBP override (#86558)
An apparent attempt to override a type-bound procedure is not allowed to be interpreted as on override when the procedure is PRIVATE and the override attempt appears in another module. However, if the TBP that would have been overridden is a DEFERRED procedure in an abstract base type, the override must take place. PRIVATE DEFERRED procedures must therefore have all of their overrides appear in the same module as the abstract base type.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions