diff options
author | Peter Klausler <pklausler@nvidia.com> | 2023-03-15 16:50:31 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2023-03-27 15:53:44 -0700 |
commit | 3f6e0c24e6a7190f309bb44a9e61f8d8fd559d11 (patch) | |
tree | 1876e9e2be2bd8cadf291c6c5130859b4eb3bd01 /llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp | |
parent | 2e0873c75ef8016a10e2052a1ce21e4fa5974cf3 (diff) | |
download | llvm-3f6e0c24e6a7190f309bb44a9e61f8d8fd559d11.zip llvm-3f6e0c24e6a7190f309bb44a9e61f8d8fd559d11.tar.gz llvm-3f6e0c24e6a7190f309bb44a9e61f8d8fd559d11.tar.bz2 |
[flang] Move SAVE attribute checks to declaration checking
Constraint checking for explicit SAVE attributes is more
accurate when done along with other declaration checking, rather
than on the fly during name resolution. This allows us to
catch attempts to attach explicit SAVE attributes to anything
that can't have one (constraints C859, C860).
Also delete `IsSave()`, whose few remaining uses were changed to the
more general `IsSaved()` predicate that seems more correct for
those uses, returning true for both explicit and implied SAVE
attributes.
Differential Revision: https://reviews.llvm.org/D146579
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp')
0 files changed, 0 insertions, 0 deletions