Skip to content
Commit 62cec44c authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] Additional processing of 'omp atomic read' directive.

According to OpenMP standard, Section 2.12.6, atomic Construct, '#pragma omp atomic read' is allowed to be used only for expression statements of form 'v = x;', where x and v (as applicable) are both l-value expressions with scalar type. Patch adds checks for it.

llvm-svn: 222231
parent 6fdb6b8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment