diff options
author | Valentin Clement <clementval@gmail.com> | 2023-02-23 17:28:54 +0100 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2023-02-23 17:30:21 +0100 |
commit | e77fc0dd76ab2aade6fed2358dbc603c0c80d20c (patch) | |
tree | 518a9c87b6d365e9500391ab8369e565448afa78 /clang/lib/AST/CXXInheritance.cpp | |
parent | b7691d7be0362499eaadbec13cec5f2e248836f6 (diff) | |
download | llvm-e77fc0dd76ab2aade6fed2358dbc603c0c80d20c.zip llvm-e77fc0dd76ab2aade6fed2358dbc603c0c80d20c.tar.gz llvm-e77fc0dd76ab2aade6fed2358dbc603c0c80d20c.tar.bz2 |
[flang] Relax the check for polymorphic pointer in storage_size intrinsic
The runtime check was a too strong as the standard says.
> If it is polymorphic it shall not be an undefined pointer.
The check was checking if the pointer was associated.
Remove the check as other compilers do.
Depends on D144643
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D144644
Diffstat (limited to 'clang/lib/AST/CXXInheritance.cpp')
0 files changed, 0 insertions, 0 deletions