Unverified Commit 939bdaec authored by Valentin Clement's avatar Valentin Clement
Browse files

[flang][openacc] Attach attribute only when there is an exit operation

Not all declare clause have an exit operation attach to them and
therefore no dealloc function generated. Attach
the pre/post deallocation attribute only for the clauses that have
an exit operation.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D158106
parent 9a96b0a0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment