HomePhabricator

[OpenMP] Add checks for requires and target directives.

Description

[OpenMP] Add checks for requires and target directives.

Summary: The requires directive containing target related clauses must appear before any target region in the compilation unit.

Reviewers: ABataev, AlexEichenberger, caomhin

Reviewed By: ABataev

Subscribers: guansong, jfb, jdoerfert, cfe-commits

Tags: #clang

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

Details

Committed
gberceaApr 18 2019, 12:53 PM
Reviewer
ABataev
Differential Revision
D60875: [OpenMP] Add checks for requires and target directives.
Parents
rL358708: llvm-undname: Fix two more asserts-on-invalid, found by oss-fuzz
Branches
Unknown
Tags
Unknown