Commit f33eba65 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

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

According to OpenMP standard, Section 2.12.6, atomic Construct, '#pragma omp atomic write' is allowed to be used only for expression statements of form 'x = expr;', where x is a lvalue expression and expr is an expression with scalar type. Patch adds checks for it.

llvm-svn: 222913
parent ce274892
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment