HomePhabricator

[flang][openacc] Add parsing tests and semantic check for set directive

Authored by clementval on Thu, Nov 5, 7:19 PM.

Description

[flang][openacc] Add parsing tests and semantic check for set directive

This patch add some parsing and clause validity tests for the set directive.
It makes use of the possibility introduces in patch D90770 to check the restriction
were one of the default_async, device_num and device_type clauses is required but also
not more than once on the set directive.

Reviewed By: sameeranjoshi

Differential Revision: https://reviews.llvm.org/D90771