diff options
author | Irina Dobrescu <irina.dobrescu@arm.com> | 2021-04-22 15:45:19 +0000 |
---|---|---|
committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2021-04-22 16:15:06 +0000 |
commit | 123ae425669e3e06f173958cc686ef6f81e498a8 (patch) | |
tree | 57689045e54818720b4f94f67387022a54b9698e /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 11232037cc4aee4fed186e50beae4a486c729d62 (diff) | |
download | llvm-123ae425669e3e06f173958cc686ef6f81e498a8.zip llvm-123ae425669e3e06f173958cc686ef6f81e498a8.tar.gz llvm-123ae425669e3e06f173958cc686ef6f81e498a8.tar.bz2 |
[flang][openmp] Add General Semantic Checks for Allocate Directive
This patch adds semantic checks for the General Restrictions of the
Allocate Directive.
Since the requires directive is not yet implemented in Flang, the
restriction:
```
allocate directives that appear in a target region must
specify an allocator clause unless a requires directive with the
dynamic_allocators clause is present in the same compilation unit
```
will need to be updated at a later time.
A different patch will be made with the Fortran specific restrictions of
this directive.
I have used the code from https://reviews.llvm.org/D89395 for the
CheckObjectListStructure function.
Co-authored-by: Isaac Perry <isaac.perry@arm.com>
Reviewed By: clementval, kiranchandramohan
Differential Revision: https://reviews.llvm.org/D91159
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions