[PATCH] D71294: [OpenMP] Emit warning message about undefined number of evaluation for atomic update/capture
Chi Chun Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 10 12:01:01 PST 2019
cchen created this revision.
cchen added a reviewer: ABataev.
Herald added subscribers: cfe-commits, jfb, guansong.
Herald added a reviewer: jdoerfert.
Herald added a project: clang.
The total number of evaluation of X is undefined for atomic construct,
therefore, we emit warning message for them. BTW, Clang is always
evaluate X once.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71294
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/atomic_messages.cpp
clang/test/OpenMP/atomic_update_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71294.233164.patch
Type: text/x-patch
Size: 4252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191210/09e9316e/attachment.bin>
More information about the cfe-commits
mailing list