[PATCH] D156352: [OpenMP][Sema] Fix directive name modifier/if-clause/'target teams loop'
David Pagan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 26 11:04:37 PDT 2023
ddpagan created this revision.
ddpagan added reviewers: ABataev, jdoerfert, ronlieb.
ddpagan added projects: OpenMP, clang.
Herald added subscribers: sunshaoce, guansong, yaxunl.
Herald added a project: All.
ddpagan requested review of this revision.
Herald added subscribers: cfe-commits, jplehr, sstefan1.
The if-clause on 'target teams loop' should only accept "target" as a directive name modifier. Any other directive name should generate an error.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156352
Files:
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/target_teams_generic_loop_if_codegen.cpp
clang/test/OpenMP/target_teams_generic_loop_messages.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156352.544440.patch
Type: text/x-patch
Size: 22488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230726/02bb04bc/attachment-0001.bin>
More information about the cfe-commits
mailing list