This is a patch to implement dynamic extension to the user condition selector for OpenMP Metadirective.
Reformat the patch
Bad idea. If you need to store other clauses in this clause, use tail allocation.
Must return ArrayRef
This must be a part of the tail-allocated data members, otherwise you won't be able to correctly handle list of children nodes
Serialization for inner clauses
|1–13 ↗||(On Diff #250830)|
This is not a test, check other files in this directory
Fixed formatting issues and replaced SmallVector with ArrayRef .
Working on the test cases.
This is not the associated statement. It is a newly generated statement which will only be used in CodeGen. I don't think we need to handle a list of children node for this one.
Style: start names with upper case letter.
You need to use Diag here. See other uses in this file.
Doesn't this produce:
if (when1) case1; if (when2) case2; ...
while we need:
if (when1) case1; else if (when2) case2; ...
I think a simple if (DKind == ...) makes more sense here.