aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorNimish Mishra <neelam.nimish@gmail.com>2023-10-03 19:41:14 +0530
committerNimish Mishra <neelam.nimish@gmail.com>2023-10-03 19:47:53 +0530
commit0ff9625c0a15a80d2375c1ab6fb3fd8439b3c78b (patch)
treec071e2f969480ca071faf5d45a8f9be91fd16bd0 /clang/lib/Lex/ModuleMap.cpp
parent3c34245c4771d56465c9845cec258e8e55f8e550 (diff)
downloadllvm-0ff9625c0a15a80d2375c1ab6fb3fd8439b3c78b.zip
llvm-0ff9625c0a15a80d2375c1ab6fb3fd8439b3c78b.tar.gz
llvm-0ff9625c0a15a80d2375c1ab6fb3fd8439b3c78b.tar.bz2
[flang][OpenMP] Added atomic update assignment statement related semantic checks
This patch adds the following semantic checks: - None of expr, and expr_list (as applicable) may access the same storage location as x - Atomic update statement should be of the form x = x operator expr or x = expr operator x or x = intrinsic_procedure(x, expr_list) or x = intrinsic_procedure(expr_list, x) - expr_list is a comma-separated, non-empty list of scalar expressions. If intrinsic_procedure_name refers to IAND, IOR, or IEOR, exactly one expression must appear in expr_list Reviewed By: TIFitis Differential Revision: https://reviews.llvm.org/D128162
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions