[OPENMP]Fix checks for DSA in simd constructs.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 28 Jun 2019 14:59:25 +0000 (14:59 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 28 Jun 2019 14:59:25 +0000 (14:59 +0000)
commit405f8fc812c0067d810fa53f9dd7ba09d02f7cc5
treeada488e4fe9f0f6d6a9a77e5254e3ba06f36291d
parent13d9c723c89b851209c53e9509f8506559796020
[OPENMP]Fix checks for DSA in simd constructs.

The errors for incorrectly specified data-sharing attributes for simd
constructs must be emitted only for the explicitly provided clauses, not
the predetermined ones.

llvm-svn: 364647
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/simd_loop_messages.cpp