[OPENMP]Fix top DSA for static members.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 28 Jun 2019 16:16:00 +0000 (16:16 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 28 Jun 2019 16:16:00 +0000 (16:16 +0000)
commit73f9d9aa64bd43dab8a78d2ce65e7782427ba8fa
tree0b978c14236b0ed2b1abfc1de16302c675085f55
parente39e958da36da52d34e883dd5820262e96a8781a
[OPENMP]Fix top DSA for static members.

Fixed handling of the data-sharing attributes for static members when
requesting top most attribute. Previously, it might return the incorrect
attributes for static members if they were overriden in the outer
constructs.

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