diff options
author | Peter Klausler <pklausler@nvidia.com> | 2023-03-16 12:41:25 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2023-03-27 16:19:54 -0700 |
commit | 1fa9ef620ba61c800040091b97acc26cbaa6d2f4 (patch) | |
tree | d860eb8971b9ddb927088dbc91d817edbeabca5c /llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp | |
parent | c44d307c550b8fe876e52e034471068928b46b4e (diff) | |
download | llvm-1fa9ef620ba61c800040091b97acc26cbaa6d2f4.zip llvm-1fa9ef620ba61c800040091b97acc26cbaa6d2f4.tar.gz llvm-1fa9ef620ba61c800040091b97acc26cbaa6d2f4.tar.bz2 |
[flang] Consolidate and enhance pointer assignment checks
Consolidate aspects of pointer assignment & structure constructor pointer component
checking from Semantics/assignment.cpp and /expression.cpp into /pointer-assignment.cpp,
and add a warning about data targets that are not definable objects
but not hard errors. Specifically, a structure component pointer component data
target is not allowed to be a USE-associated object in a pure context by a numbered
constraint, but the right-hand side data target of a pointer assignment statement
has no such constraint, and that's the new warning.
Differential Revision: https://reviews.llvm.org/D146581
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp')
0 files changed, 0 insertions, 0 deletions