]> granicus.if.org Git - clang/commit
[OPENMP]Fix PR41767: diagnose DSA for variables in clauses with default(none).
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 9 May 2019 18:44:53 +0000 (18:44 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 9 May 2019 18:44:53 +0000 (18:44 +0000)
commit00f43c390b0626bba117e87005c615f5ab0df723
tree38389328933ec245df8295642c32890e28a4ec20
parent0287533e3f4f1411092658384fbe337754961c56
[OPENMP]Fix PR41767: diagnose DSA for variables in clauses with default(none).

If the combined directive has default(none) clause and has clauses for
inner directive that reference some variables, for which data-sharing
attributes are not specified, the error messages should be emitted for
such variables.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360365 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/distribute_parallel_for_ast_print.cpp
test/OpenMP/distribute_parallel_for_simd_ast_print.cpp
test/OpenMP/parallel_for_ast_print.cpp
test/OpenMP/parallel_for_schedule_messages.cpp
test/OpenMP/parallel_messages.cpp
test/OpenMP/target_parallel_for_ast_print.cpp
test/OpenMP/target_parallel_for_simd_ast_print.cpp
test/OpenMP/target_teams_distribute_parallel_for_if_messages.cpp