]> granicus.if.org Git - clang/commit
[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)
commit600a9e6e11f067dbb921c742b6fb676e0ac045bd
tree4d672c7d2d8b5d4fd0b0953fd3288419c6d8d4b9
parent6e34f0e735bc955840f3b90b53a7be1b64186f90
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303077 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Stmt.cpp
test/OpenMP/report_default_DSA.cpp [new file with mode: 0644]