[OPENMP] Check DSA for variables captured by value.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 May 2017 16:26:15 +0000 (16:26 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 May 2017 16:26:15 +0000 (16:26 +0000)
commit2c84541a21f487aa25767993e72ae4309e81c521
tree7670e3e911bcdc01738ab318f536ea649b863719
parentb5c2a2d9599a4ff2891d264a4ee415e2448924c5
[OPENMP] Check DSA for variables captured by value.

Currently clang checks for default data sharing attributes only for
variables captured in OpenMP regions by reference. Patch adds checks for
variables captured by value.

llvm-svn: 303077
clang/lib/AST/Stmt.cpp
clang/test/OpenMP/report_default_DSA.cpp [new file with mode: 0644]