-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[OpenMP 5.2] New syntax for 'uses_allocators' clause #157025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1efc6c0
03420e3
ce8572c
cfe1df3
51f5f07
de4fb9a
c38139f
e1da8f9
649ee30
3ecdd11
99abd4e
e54597e
8a854c2
0f880ba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1497,6 +1497,8 @@ def err_omp_multiple_step_or_linear_modifier : Error< | |
"multiple %select{'step size'|'linear modifier'}0 found in linear clause">; | ||
def err_omp_deprecate_old_syntax: Error< | ||
"old syntax '%0' on '%1' clause was deprecated, use new syntax '%2'">; | ||
def err_omp_allocator_comma_separator : | ||
Error<"',' not allowed as separator in 'uses_allocators' clause, use ';' instead">; | ||
Comment on lines
+1500
to
+1501
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you try to reuse existing message? I think there should be something similar already There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I checked through the file to see if there’s an existing message we could reuse, but didn’t find anything relevant (using |
||
def warn_omp_future_directive_spelling: Warning< | ||
"directive spelling '%0' is introduced in a later OpenMP version">, | ||
InGroup<OpenMPFuture>; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to do anything in codegen? If yes, this should be
partial
, I thinkThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a parsing change for the new
uses_allocator
syntax, no codegen required; works the same way, so keeping it asdone
.