This is an archive of the discontinued LLVM Phabricator instance.

[Clang][OpenMP] Add one missing form of atomic compare capture
ClosedPublic

Authored by tianshilei1992 on Oct 4 2022, 8:58 PM.

Details

Summary

Two another atomic compare capture forms, { v = x; expr-stmt } and { expr-stmt; v = x; }
where expr-stmt could be cond-expr-stmt are missing.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Oct 4 2022, 8:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2022, 8:58 PM
tianshilei1992 requested review of this revision.Oct 4 2022, 8:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2022, 8:58 PM
tianshilei1992 edited the summary of this revision. (Show Details)Oct 4 2022, 8:58 PM

rebase and fix tests

This revision is now accepted and ready to land.Oct 7 2022, 8:16 AM

regenerate tests

clang/test/OpenMP/atomic_ast_print.cpp