This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP]Initial support for severity clause
ClosedPublic

Authored by jyu2 on Nov 17 2022, 10:30 AM.

Details

Summary

Initial support for severity clause

Diff Detail

Event Timeline

jyu2 created this revision.Nov 17 2022, 10:30 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 17 2022, 10:30 AM
jyu2 requested review of this revision.Nov 17 2022, 10:30 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 17 2022, 10:30 AM
ABataev added inline comments.Nov 17 2022, 10:42 AM
llvm/include/llvm/Frontend/OpenMP/OMP.td
538–540

Add a version where these clauses were introduced

jyu2 updated this revision to Diff 476194.Nov 17 2022, 11:36 AM

Thanks Alexey for code review! Address his comment.

llvm/include/llvm/Frontend/OpenMP/OMP.td
538–540

Thanks. Changed.

ABataev added inline comments.Nov 17 2022, 11:39 AM
clang/test/OpenMP/error_message.cpp
98

Di you have a test for tge directive with 2 or more severity clauses?

jyu2 updated this revision to Diff 476212.Nov 17 2022, 12:53 PM

Thanks Alexey! Address his comment.

clang/test/OpenMP/error_message.cpp
98

Sorry, added.

ABataev added inline comments.Nov 17 2022, 1:03 PM
clang/test/OpenMP/error_ast_print.cpp
16

Missed )

clang/test/OpenMP/error_message.cpp
79

What about a test for severity with the same severity kind?

jyu2 updated this revision to Diff 476223.Nov 17 2022, 1:37 PM

Thanks Alexey!

clang/test/OpenMP/error_ast_print.cpp
16

Thanks. Changed.

clang/test/OpenMP/error_message.cpp
79

I added one. Thanks.

This revision is now accepted and ready to land.Nov 17 2022, 1:40 PM
This revision was landed with ongoing or failed builds.Nov 17 2022, 4:17 PM
This revision was automatically updated to reflect the committed changes.