Skip to content
Commit 217ff1e4 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[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.

llvm-svn: 369146
parent 2e3ed4a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment