This is an archive of the discontinued LLVM Phabricator instance.

[Clang][OpenMP] Fix wrong form of 'cond-update-stmt' in atomic_ast_print.cpp
ClosedPublic

Authored by tianshilei1992 on Feb 21 2022, 7:27 AM.

Details

Summary

In clang/test/OpenMP/atomic_ast_print.cpp for atomic compare capture,
it was using 'cond-expr-stmt' instead of 'cond-update-stmt'. The spec only supports
'cond-update-stmt'.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Feb 21 2022, 7:27 AM
tianshilei1992 requested review of this revision.Feb 21 2022, 7:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2022, 7:27 AM
This revision is now accepted and ready to land.Feb 21 2022, 7:28 AM
This revision was landed with ongoing or failed builds.Feb 21 2022, 8:40 AM
This revision was automatically updated to reflect the committed changes.