[PATCH] D56113: [OpenMP] Replace predetermined shared for const variable
Joel E. Denny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 4 11:03:29 PST 2019
jdenny updated this revision to Diff 180278.
jdenny added a comment.
- Reuse new const-not-mutable check when computing predetermined shared attribute.
- Quote 3.1 spec to clarify that private and lastprivate has the const-not-mutable restriction there too.
- Don't add new test case shared_for_const_not_mutable.cpp, which r350127 addressed.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56113/new/
https://reviews.llvm.org/D56113
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp
clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_messages.cpp
clang/test/OpenMP/distribute_private_messages.cpp
clang/test/OpenMP/distribute_simd_lastprivate_messages.cpp
clang/test/OpenMP/for_lastprivate_messages.cpp
clang/test/OpenMP/for_simd_lastprivate_messages.cpp
clang/test/OpenMP/parallel_default_messages.cpp
clang/test/OpenMP/parallel_for_lastprivate_messages.cpp
clang/test/OpenMP/parallel_for_simd_lastprivate_messages.cpp
clang/test/OpenMP/parallel_private_messages.cpp
clang/test/OpenMP/parallel_sections_lastprivate_messages.cpp
clang/test/OpenMP/sections_lastprivate_messages.cpp
clang/test/OpenMP/simd_lastprivate_messages.cpp
clang/test/OpenMP/target_parallel_for_lastprivate_messages.cpp
clang/test/OpenMP/target_parallel_for_simd_lastprivate_messages.cpp
clang/test/OpenMP/target_parallel_private_messages.cpp
clang/test/OpenMP/target_simd_lastprivate_messages.cpp
clang/test/OpenMP/target_teams_distribute_lastprivate_messages.cpp
clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_messages.cpp
clang/test/OpenMP/target_teams_distribute_parallel_for_private_messages.cpp
clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_messages.cpp
clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_messages.cpp
clang/test/OpenMP/target_teams_distribute_private_messages.cpp
clang/test/OpenMP/target_teams_distribute_simd_lastprivate_messages.cpp
clang/test/OpenMP/target_teams_distribute_simd_private_messages.cpp
clang/test/OpenMP/target_teams_private_messages.cpp
clang/test/OpenMP/task_private_messages.cpp
clang/test/OpenMP/taskloop_lastprivate_messages.cpp
clang/test/OpenMP/taskloop_simd_lastprivate_messages.cpp
clang/test/OpenMP/teams_distribute_lastprivate_messages.cpp
clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_messages.cpp
clang/test/OpenMP/teams_distribute_parallel_for_private_messages.cpp
clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_messages.cpp
clang/test/OpenMP/teams_distribute_parallel_for_simd_private_messages.cpp
clang/test/OpenMP/teams_distribute_private_messages.cpp
clang/test/OpenMP/teams_distribute_simd_lastprivate_messages.cpp
clang/test/OpenMP/teams_distribute_simd_private_messages.cpp
clang/test/OpenMP/teams_private_messages.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56113.180278.patch
Type: text/x-patch
Size: 129243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190104/cdec7ec9/attachment-0001.bin>
More information about the cfe-commits
mailing list