HomePhabricator

[OPENMP5.0]Diagnose global variables in lambda not marked as declare

Description

[OPENMP5.0]Diagnose global variables in lambda not marked as declare
target.

According to OpenMP 5.0, if a lambda declaration and definition appears between a declare target directive and the matching end declare target directive, all variables that are captured by the lambda expression must also appear in a to clause.

Details

Committed
ABataevAug 16 2019, 1:15 PM
Parents
rL369145: Stop abusing SuppressAllDiagnostics when speculatively determining
Branches
Unknown
Tags
Unknown